Show / Hide Table of Contents

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 Chat Agent.
Inheritance
object
ChatPresence
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class ChatPresence : Carrier

Constructors

ChatPresence()

Default constructor

Declaration
public ChatPresence()
See Also
IChatAgent

Properties

ChatTopics

An array of ids with chat topics that this user is a member of

Declaration
[DataMember]
public virtual int[] ChatTopics { get; set; }
Property Value
Type Description
int[]
See Also
IChatAgent

DisplayName

The display name of the chat user

Declaration
[DataMember]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string
See Also
IChatAgent

OngoingChats

The number of ongoing chats this users has now

Declaration
[DataMember]
public virtual int OngoingChats { get; set; }
Property Value
Type Description
int
See Also
IChatAgent

Present

Indicates if the user has the chat presence turned on or off

Declaration
[DataMember]
public virtual bool Present { get; set; }
Property Value
Type Description
bool
See Also
IChatAgent

UserId

The id for the chat user

Declaration
[DataMember]
public virtual int UserId { get; set; }
Property Value
Type Description
int
See Also
IChatAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IChatAgent

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.

See Also
IChatAgent

See Also

IChatAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top