New to KendoReactStart a free 30-day trial

MessageSettings
Premium

Updated on Oct 30, 2025

Configuration settings for message display and behavior.

NameTypeDefaultDescription

allowMessageCollapse?

boolean

Enables expand or collapse for messages to save space.

fileActions?

MessageAction[]

Actions displayed for files in messages for this message type. When provided, this overrides the global fileActions for the specific message type (author/receiver).

messageContentTemplate?

ComponentType<ChatMessageTemplateProps>

React functional or class component used as a message content template for this message type. Rendered inside the .k-bubble-content element when provided. The corresponding message is passed as an item property. When provided, this template overrides the global messageContentTemplate for the specific message type (author/receiver).

messageContextMenuActions?

MessageAction[]

Actions displayed in the message context menu for this message type. When provided, this overrides the global messageContextMenuActions for the specific message type (author/receiver).

messageTemplate?

ComponentType<ChatMessageTemplateProps>

React functional or class component used as a message template for this message type. The corresponding message is passed as an item property. When provided, this template overrides the global messageTemplate for the specific message type (author/receiver).

messageToolbarActions?

MessageAction[]

Actions displayed in the message toolbar for this message type. When provided, this overrides the global messageToolbarActions for the specific message type (author/receiver).

messageWidthMode?

MessageWidthMode

Sets the message width mode.

  • full—Message occupies the full width of the Chat.
  • standard—Message occupies a standard width for a compact display.

showAvatar?

boolean

Controls whether avatars are displayed for this message type. When provided, this overrides the global showAvatar setting for the specific message type (author/receiver).

showUsername?

boolean

Controls whether author names are displayed for this message type. When provided, this overrides the global showUsername setting for the specific message type (author/receiver).

Not finding the help you need?
Contact Support