Class ChatPresence
Represents presence information for a chat user, bundled with some other useful information
Carrier object for ChatPresence. Services for the ChatPresence Carrier is available from the IChatAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class ChatPresence : Carrier
Constructors
ChatPresence()
Default constructor
Declaration
public ChatPresence()
See Also
Properties
ChatTopics
An array of ids with chat topics that this user is a member of
Declaration
public virtual int[] ChatTopics { get; set; }
Property Value
Type | Description |
---|---|
Int32[] |
See Also
DisplayName
The display name of the chat user
Declaration
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
OngoingChats
The number of ongoing chats this users has now
Declaration
public virtual int OngoingChats { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Present
Indicates if the user has the chat presence turned on or off
Declaration
public virtual bool Present { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
UserId
The id for the chat user
Declaration
public virtual int UserId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |