ChatMessageSettingsBuilder

Methods

ShowAvatar(System.Boolean)

Whether to show the avatar for receiver messages.

Parameters

value - System.Boolean

The value for ShowAvatar

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

ShowUsername(System.Boolean)

Whether to show the username for receiver messages.

Parameters

value - System.Boolean

The value for ShowUsername

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

MessageWidthMode(Kendo.Mvc.UI.ChatMessageWidth)

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

Parameters

value - ChatMessageWidth

The value for MessageWidthMode

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

AllowMessageCollapse(System.Boolean)

Whether long receiver messages can be collapsed.

Parameters

value - System.Boolean

The value for AllowMessageCollapse

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

MessageTemplateHandler(System.String)

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

Parameters

templateHandler - System.String

The handler that returs the template for MessageTemplate

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

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.

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

MessageContentTemplateHandler(System.String)

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

Parameters

templateHandler - System.String

The handler that returs the template for MessageContentTemplate

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

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.

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

EnableFileActions(System.Boolean)

Whether file actions are enabled for receiver messages.

Parameters

value - System.Boolean

The value for EnableFileActions

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

EnableContextMenuActions(System.Boolean)

Whether context menu actions are enabled for receiver messages.

Parameters

value - System.Boolean

The value for EnableContextMenuActions

RETURNS

Returns the current ChatMessageSettingsBuilder instance.

MessageToolbarActions(System.Action)

Defines the collection of toolbar actions rendered for receiver messages.

Parameters

configurator - System.Action<ChatMessageSettingsMessageToolbarActionFactory>

The configurator for the messagetoolbaractions setting.

RETURNS

Returns the current instance of ChatMessageSettingsBuilder .

MessageActions(System.Action)

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

Parameters

configurator - System.Action<ChatMessageSettingsMessageActionFactory>

The configurator for the messageactions setting.

RETURNS

Returns the current instance of ChatMessageSettingsBuilder .