ClassChatTextMessage
Represents a chat message that contains text content.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ChatTextMessage : ChatMessage, INotifyPropertyChanged
Inheritance: objectChatMessageChatTextMessage
Derived Classes:
Implements:
Inherited Members
Constructors
ChatTextMessage(string, Author, DateTime)
Initializes a new instance of the ChatTextMessage class with the specified message content, author, and timestamp.
Declaration
public ChatTextMessage(string message, Author author, DateTime timeStamp)
Parameters
message
The text content of the chat message. Cannot be null.
author
The author of the chat message. Cannot be null.
timeStamp
The date and time when the message was sent.
ChatTextMessage(string, Author, DateTime, object)
Initializes a new instance of the ChatTextMessage class with the specified message content, author, timestamp, and user data.
Declaration
public ChatTextMessage(string message, Author author, DateTime timeStamp, object userData)
Parameters
message
The text content of the chat message.
author
The author of the chat message. Cannot be null.
timeStamp
The date and time when the message was created.
userData
An object containing additional user-defined data associated with the message. Can be null.