Class MessageTemplateContext
Inheritance
System.Object
MessageTemplateContext
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class MessageTemplateContext : Object
Constructors
MessageTemplateContext()
Declaration
public MessageTemplateContext()
Properties
Index
Gets or sets the index of the message in the SfChatUI component.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An System.Int32 representing the index of the message. The default value is |
Remarks
This property indicates the position of the message within the list of messages, allowing for easy reference to specific message items.
Message
Gets or sets the chat message data in the SfChatUI component.
Declaration
public ChatMessage Message { get; set; }
Property Value
Type | Description |
---|---|
ChatMessage | A ChatMessage representing the message content. The default value is |
Remarks
This property contains the details of the chat message being rendered in the SfChatUI component.