ChatComponent
Represents the Kendo UI Chat component for Angular.
Provides a conversational UI for chat-based applications. Supports message templates, attachments, localization, and user actions.
<kendo-chat
[messages]="messages"
[user]="user"
(sendMessage)="onSendMessage($event)"
(executeAction)="onExecuteAction($event)">
</kendo-chat>
Selector
kendo-chat
Inputs
Name | Type | Default | Description |
---|---|---|---|
messageBoxType |
|
|
Determines the type of input used in the message box.
Can be set to |
messages |
|
Defines the array of messages displayed in the Chat. Each message can include a timestamp for unique identification. For more information, refer to ngFor - Change Tracking. | |
user |
|
Specifies the |
Events
Name | Type | Description |
---|---|---|
executeAction |
|
Emits when the user clicks a quick action button.
The Chat internally handles known actions such as The event is preventable—calling |
sendMessage |
|
Emits when the user sends a message by clicking the Send button or pressing Enter.
|