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 NameDetails
message-actionsChatMessageSettingsMessageActionsTagHelper
message-content-templateTemplateTagHelper
message-templateTemplateTagHelper
message-toolbar-actionsChatMessageSettingsMessageToolbarActionsTagHelper

Attributes

AttributeTypeDescription
allow-message-collapseBooleanWhether long author messages can be collapsed.
enable-context-menu-actionsBooleanWhether context menu actions are enabled for author messages.
enable-file-actionsBooleanWhether file actions are enabled for author messages.
message-content-template-handlerStringA 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-handlerStringThe 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-modeChatMessageWidthThe width mode to apply to author messages. Supported values are "standard" and "full".
show-avatarBooleanWhether to show the avatar for author messages.
show-usernameBooleanWhether to show the username for author messages.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support