New to KendoReactStart a free 30-day trial

Role-Specific Message Configuration
Premium

Updated on Nov 5, 2025

The Chat component provides a powerful configuration system that allows you to customize message behavior and appearance differently for author messages (messages from the local user) versus receiver messages (messages from other users) using the authorMessageSettings and receiverMessageSettings properties.

Configuration Overview

Both authorMessageSettings and receiverMessageSettings accept a MessageSettings object that allows you to override global message settings for each message type independently:

When you configure both global settings and role-specific settings, the role-specific settings take precedence.

AI Assistant Interface Example

The following example demonstrates an AI Assistant interface using role-specific configuration. AI messages use a custom template with full width, while user messages maintain a cleaner standard appearance with toolbar actions:

Change Theme
Theme
Loading ...