ChatMessageSettings
Defines the fluent API for configuring the ChatMessageSettings settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatMessageSettings : JsonObject
Inheritance: objectJsonObjectChatMessageSettings
Inherited Members
Constructors
Initialization for the ChatMessageSettings
public ChatMessageSettings()
Properties
Whether long receiver messages can be collapsed.
public bool? AllowMessageCollapse { get; set; }
Whether context menu actions are enabled for receiver messages.
public bool? EnableContextMenuActions { get; set; }
Whether file actions are enabled for receiver messages.
public bool? EnableFileActions { get; set; }
Defines the collection of context menu actions rendered for receiver messages.
public List<ChatMessageSettingsMessageAction> MessageActions { get; set; }
The handler for the MessageContentTemplate
public string MessageContentTemplateHandler { get; set; }
The handler for the MessageTemplate
public string MessageTemplateHandler { get; set; }
Defines the collection of toolbar actions rendered for receiver messages.
public List<ChatMessageSettingsMessageToolbarAction> MessageToolbarActions { get; set; }
The width mode to apply to receiver messages. Supported values are "standard" and "full".
public ChatMessageWidth? MessageWidthMode { get; set; }
Whether to show the avatar for receiver messages.
public bool? ShowAvatar { get; set; }
Whether to show the username for receiver messages.
public bool? ShowUsername { get; set; }
Methods
Serialize current instance to Dictionary
protected override void Serialize(IDictionary<string, object> json)
Overrides: