Class ChatTextMessage
Represents a chat message that contains text content.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ChatTextMessage : ChatMessage, INotifyPropertyChanged
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
|
System.String
message
The text content of the chat message. Cannot be null. |
|
Author
author
The author of the chat message. Cannot be null. |
|
System.DateTime
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
|
System.String
message
The text content of the chat message. |
|
Author
author
The author of the chat message. Cannot be null. |
|
System.DateTime
timeStamp
The date and time when the message was created. |
|
System.Object
userData
An object containing additional user-defined data associated with the message. Can be null. |
Properties
Message
Gets or sets the message content associated with this instance.
Declaration
public string Message { get; set; }
Property Value
|
System.String
|