ChatMessageSettingsBuilder

Methods

ShowAvatar(System.Boolean)

Whether to show the avatar for receiver messages.

Parameters

value - System.Boolean

The value that configures the showavatar.

ShowUsername(System.Boolean)

Whether to show the username for receiver messages.

Parameters

value - System.Boolean

The value that configures the showusername.

MessageWidthMode(Kendo.Mvc.UI.ChatMessageWidth)

The width mode to apply to receiver messages. Supported values are "standard" and "full".

Parameters

value - ChatMessageWidth

The value that configures the messagewidthmode.

AllowMessageCollapse(System.Boolean)

Whether long receiver messages can be collapsed.

Parameters

value - System.Boolean

The value that configures the allowmessagecollapse.

MessageTemplateHandler(System.String)

The template used to render receiver messages. Receives the same arguments as messageTemplate.

Parameters

value - System.String

The value that configures the messagetemplate.

MessageTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render receiver messages. Receives the same arguments as messageTemplate.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the messagetemplate.

MessageContentTemplateHandler(System.String)

A content template override for receiver messages. Receives the current message object.

Parameters

value - System.String

The value that configures the messagecontenttemplate.

MessageContentTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

A content template override for receiver messages. Receives the current message object.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the messagecontenttemplate.

EnableFileActions(System.Boolean)

Whether file actions are enabled for receiver messages.

Parameters

value - System.Boolean

The value that configures the enablefileactions.

EnableContextMenuActions(System.Boolean)

Whether context menu actions are enabled for receiver messages.

Parameters

value - System.Boolean

The value that configures the enablecontextmenuactions.

MessageToolbarActions(System.Action)

Defines the collection of toolbar actions rendered for receiver messages.

Parameters

configurator - System.Action<ChatMessageSettingsMessageToolbarActionFactory>

The action that configures the messagetoolbaractions.

MessageActions(System.Action)

Defines the collection of context menu actions rendered for receiver messages.

Parameters

configurator - System.Action<ChatMessageSettingsMessageActionFactory>

The action that configures the messageactions.