New to Kendo UI for Angular? Start a free 30-day trial
AuthorMessageContentTemplateDirective
Updated on Oct 31, 2025
Defines a template for displaying custom content inside the current user's messages in the Chat.
To define a message template, nest an <ng-template> tag with the kendoChatAuthorMessageContentTemplate 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 kendoChatAuthorMessageContentTemplate let-message>
<div>Message: {{ message.text }}</div>
</ng-template>
</kendo-chat>
Selector
[kendoChatAuthorMessageContentTemplate]