New to Kendo UI for Angular? Start a free 30-day trial
ReceiverMessageContentTemplateDirective
Updated on Oct 31, 2025
Defines a template for displaying custom content inside the other users' messages in the Chat.
To define a message template, nest an <ng-template> tag with the kendoChatReceiverMessageContentTemplate directive inside the <kendo-chat> component.
The template context is set to the message instance.
For more information, refer to the article on message templates.
html
<kendo-chat>
<ng-template kendoChatReceiverMessageContentTemplate let-message>
<div>Message: {{ message.text }}</div>
</ng-template>
</kendo-chat>
Selector
[kendoChatReceiverMessageContentTemplate]