AuthorMessageSettings
configurationUser-specific message settings applied to messages sent by the current user (author). These settings override the global display options like showAvatar, showUsername, and messageWidthMode for author messages only. See also receiverMessageSettings.
The object accepts the following properties:
showAvatar-Boolean- Whether to show the avatar for author messages.showUsername-Boolean- Whether to show the username for author messages.messageWidthMode-String- Message width mode:"standard"or"full".allowMessageCollapse-Boolean- Whether author messages can be collapsed.messageTemplate-Function- Template override for author messages. Receives the same arguments asmessageTemplate.messageContentTemplate-Function- Content template override for author messages. Receives the current message object.enableFileActions-Boolean- Whether file actions are enabled for author messages.enableContextMenuActions-Boolean- Whether context menu actions are enabled for author messages.messageToolbarActions-Array- Toolbar actions specific to author messages.messageActions-Array- Context menu actions specific to author messages.
authorMessageSettings
ObjectDefault: null
Whether long author messages can be collapsed.
Whether context menu actions are enabled for author messages.
Whether file actions are enabled for author messages.
Defines the collection of context menu actions rendered for author messages.
A content template override for author messages. Receives the current message object.
The template used to render author messages. Receives the same arguments as messageTemplate.
Defines the collection of toolbar actions rendered for author messages.
The width mode to apply to author messages. Supported values are "standard" and "full".
Whether to show the avatar for author messages.
Whether to show the username for author messages.