ChatMessageSettingsTagHelper
Example
Razor
<author-message-settings>
<message-actions></message-actions>
<message-content-template></message-content-template>
<message-template></message-template>
<message-toolbar-actions></message-toolbar-actions>
</author-message-settings>
ChildTags
| Tag Name | Details |
|---|---|
| message-actions | ChatMessageSettingsMessageActionsTagHelper |
| message-content-template | TemplateTagHelper |
| message-template | TemplateTagHelper |
| message-toolbar-actions | ChatMessageSettingsMessageToolbarActionsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| allow-message-collapse | Boolean | Whether long author messages can be collapsed. |
| enable-context-menu-actions | Boolean | Whether context menu actions are enabled for author messages. |
| enable-file-actions | Boolean | Whether file actions are enabled for author messages. |
| message-content-template-handler | String | A content template override for author messages. Receives the current message object. This option expects the name of a JavaScript function that will be called to return the template. |
| message-template-handler | String | The template used to render author messages. Receives the same arguments as messageTemplate. This option expects the name of a JavaScript function that will be called to return the template. |
| message-width-mode | ChatMessageWidth | The width mode to apply to author messages. Supported values are "standard" and "full". |
| show-avatar | Boolean | Whether to show the avatar for author messages. |
| show-username | Boolean | Whether to show the username for author messages. |