New to Telerik UI for WinForms? Start a free 30-day trial

Represents a chat message used to visually separate messages by time within a chat conversation.

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.

Definition

Constructors

Initializes a new instance of the ChatTimeSeparatorMessage class with the specified timestamp and optional user data.

C#
public ChatTimeSeparatorMessage(DateTime timeStamp, object userData)
Parameters:timeStampDateTime

The date and time associated with the time separator message.

userDataobject

An optional user-defined object that contains additional data related to the message. Can be null.

Initializes a new instance of the ChatTimeSeparatorMessage class with the specified timestamp.

C#
public ChatTimeSeparatorMessage(DateTime timeStamp)
Parameters:timeStampDateTime

The date and time to associate with the time separator message.