Skip to main content

Class ChatMessage

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for ChatMessage. A message in a chat session

Inheritance

objectChatMessage

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

ChatMessage()

Default constructor - defaults any enum props to 0.

Properties

Author

The author of the message.

Property Value

string

ChatMessageId

The primary key (auto-incremented)

Property Value

int

ChatSessionId

The reference to the associated chat session.

Property Value

int

Message

The message.

Property Value

string

ReadByCustomer

Whether the message has been read by the customer or not.

Property Value

short

SpecialParam

Special parameter for the special_type.

Property Value

string

SpecialType

Enum indicating if it is a special message, such as an URL redirection, etc. NULL if unknown enum value.

Property Value

ChatMessageSpecialType?

See Also

ChatMessage.SpecialType_String

SpecialType_String

Enum indicating if it is a special message, such as an URL redirection, etc. Raw string enum value.

Property Value

string

See Also

ChatMessage.SpecialType

Type

The type of the message. NULL if unknown enum value.

Property Value

ChatMessageType?

See Also

ChatMessage.Type_String

Type_String

The type of the message. Raw string enum value.

Property Value

string

See Also

ChatMessage.Type

WhenPosted

When the message was posted (UTC timestamp).

Property Value

DateTime

See Also

ChatAgent