Search results

MessageSendEventArgs API in React Chat Ui API component

Properties

cancel

boolean

Indicates whether the message sending action should be canceled. Setting this boolean property to true will prevent the message from being sent, allowing for validation or modification before the final send.

message

MessageModel

Represents the message that is intended to be sent. This property holds a MessageModel object containing all relevant details of the message, including content, author, and timestamp. It can be modified before the message is sent.

name

string

Specifies name of the event.