Interface IMessage
Defines properties that can be used to customize the UI of the messages in SfChat.
Namespace: Syncfusion.Maui.Chat
Assembly: Syncfusion.Maui.Chat.dll
Syntax
public interface IMessage
Properties
Author
Gets or sets the information about the author of a message.
Declaration
Author Author { get; set; }
Property Value
Type |
---|
Author |
Data
Gets or sets the data object of this message.
Declaration
object Data { get; set; }
Property Value
Type |
---|
System.Object |
DateTime
Gets or sets the date and time details when the message was created.
Declaration
DateTime DateTime { get; set; }
Property Value
Type |
---|
System.DateTime |
HideAfterSelection
Gets or sets a value indicating whether the message content like card, date picker, time picker, calendar should be hidden after user selects a card, date or time from the message.
Declaration
bool HideAfterSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
IsMessageContentHiddenAfterSelection
Gets or sets a value indicating whether the message content like card, date picker, time picker, is hidden after user selects a card, date or time from the message.
Declaration
bool IsMessageContentHiddenAfterSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
This property is meant for internal purposes only and should not be handled in application. Upon implementing the interface only add a getter and setter for the property without any other code logic implementation.
IsSuggestionViewHiddenAfterSelection
Gets or sets a value indicating whether suggestion view is hidden after a suggestion item is selected.
Declaration
bool IsSuggestionViewHiddenAfterSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
This property is meant for internal purposes only and should not be handled in application. Upon implementing the interface only add a getter and setter for the property without any other code logic implementation.
Suggestions
Gets or sets the list of items to be displayed as response to a user message, the orientation of the items and its spacing. The suggestions will be displayed directly below the message as part of the message view.
Declaration
ChatSuggestions Suggestions { get; set; }
Property Value
Type |
---|
ChatSuggestions |