Class ChatTimeSeparatorMessage
Represents a chat message used to visually separate messages by time within a chat conversation.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ChatTimeSeparatorMessage : ChatMessage, INotifyPropertyChanged
Remarks
This message type is typically used to display a timestamp or divider between groups of messages sent at different times, helping users understand the chronological flow of the conversation. It does not represent a user-generated message and usually does not contain content beyond the time information.
Constructors
ChatTimeSeparatorMessage(DateTime)
Initializes a new instance of the ChatTimeSeparatorMessage class with the specified timestamp.
Declaration
public ChatTimeSeparatorMessage(DateTime timeStamp)
Parameters
|
System.DateTime
timeStamp
The date and time to associate with the time separator message. |
ChatTimeSeparatorMessage(DateTime, Object)
Initializes a new instance of the ChatTimeSeparatorMessage class with the specified timestamp and optional user data.
Declaration
public ChatTimeSeparatorMessage(DateTime timeStamp, object userData)
Parameters
|
System.DateTime
timeStamp
The date and time associated with the time separator message. |
|
System.Object
userData
An optional user-defined object that contains additional data related to the message. Can be null. |