ChatCardMessage
Class
Represents a chat message whose content is supplied by a card data item.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ChatCardMessage : ChatMessage, INotifyPropertyChanged
Inheritance: objectChatMessageChatCardMessage
Implements:
Inherited Members
Constructors
Initializes a card message with the supplied message-level user data.
C#
public ChatCardMessage(BaseChatCardDataItem cardDataItem, Author author, DateTime timeStamp, object userData)
The card content to display.
authorAuthorThe message author.
timeStampDateTimeThe message timestamp.
userDataobjectApplication-defined data associated with the message.
Initializes a card message without message-level user data.
C#
public ChatCardMessage(BaseChatCardDataItem cardDataItem, Author author, DateTime timeStamp)
The card content to display.
authorAuthorThe message author.
timeStampDateTimeThe message timestamp.
Properties
Gets the card data item used to create the message's visual card.
C#
public BaseChatCardDataItem CardDataItem { get; }