# Chat

## Properties

### DataSource - [DataSource](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/datasource)

Gets or sets the DataSource.

### DataSourceId - String

### MessageWidthMode - Nullable

### MessageTemplateId - String

### MessageTemplateHandler - String

### SuggestionsTemplateId - String

### SuggestionsTemplateHandler - String

### FilesTemplateId - String

### FilesTemplateHandler - String

### MessageGroupTemplateId - String

### MessageGroupTemplateHandler - String

### MessageReferenceTemplateId - String

### MessageReferenceTemplateHandler - String

### SuggestedActionsTemplateId - String

### SuggestedActionsTemplateHandler - String

### TimestampTemplateId - String

### TimestampTemplateHandler - String

### HeaderItems - List

### ActionButton - [ChatActionButtonSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatactionbuttonsettings)

The icon name for the action button in its default (send) state.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

### AllowMessageCollapse - Nullable

### AttachmentLayout - Nullable

### AttachmentLayoutField - String

### AttachmentsField - String

### AttachmentTemplateHandler - String

### AutoBind - Nullable

### AutoAssignId - Nullable

### AuthorId - String

### AuthorIdField - String

### AuthorImageAltTextField - String

### AuthorImageUrlField - String

### AuthorNameField - String

### AuthorMessageSettings - [ChatMessageSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatmessagesettings)

Whether to show the avatar for receiver messages.

### PinnedMessages - List

### ScrollMode - Nullable

### PageSize - Nullable

### EndlessScrollDebounceDelay - Nullable

### FailedField - String

### FileActions - List

### FileAttachment - [ChatFileAttachmentSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatfileattachmentsettings)

The icon name for the file select button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

### FilesField - String

### FilesLayoutMode - Nullable

### HeaderTemplateHandler - String

### Height - String

### IdField - String

### IsDeletedField - String

### IsPinnedField - String

### IsTypingField - String

### Loading - Nullable

### MessageActions - List

### Messages - [ChatMessagesSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatmessagessettings)

The text for the download all files button.

### MessageBox - [ChatMessageBoxSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatmessageboxsettings)

The input mode for the message box: "single": Single-line text input; "multi": Multi-line textarea with fixed rows or "auto": Auto-expanding textarea that grows as the user types.

### MessageContentTemplateHandler - String

### MessageStatusSettings - [ChatMessageStatusSettingsSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatmessagestatussettingssettings)

Configures the settings object used when the message status is "sent".

### MessageStatusTemplateHandler - String

### MessageBoxTemplateHandler - String

### MessageTimeFormat - String

### MessageToolbarActions - List

### NoDataTemplateHandler - String

### ScrollToBottomButton - Nullable

### AutoScrollThreshold - Nullable

### ShowAvatar - Nullable

### ShowUsername - Nullable

### SkipSanitization - Nullable

### ReplyToIdField - String

### ReceiverMessageSettings - [ChatMessageSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatmessagesettings)

Whether to show the avatar for receiver messages.

### SpeechToText - [ChatSpeechToTextSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chatspeechtotextsettings)

Enables or disables the speech-to-text button.

### SuggestedActionsScrollable - Nullable

### Suggestions - List

### SuggestionsBehavior - Nullable

### SuggestionsScrollable - Nullable

### TextField - String

### StatusField - String

### TimestampField - String

### TimestampVisibility - Nullable

### UserStatusTemplateHandler - String

### Width - String

### Dir - Nullable

### SuggestedActionsLayoutMode - Nullable

### SuggestionsLayoutMode - Nullable

### Events - IDictionary

### Id - String

### SanitezeId - Boolean

### Writer - IJavaScriptWriter

### Initializer - IJavaScriptInitializer

### IsInClientTemplate - Boolean

### IsSelfInitialized - Boolean

### HasDeferredInitialization - Boolean

### HtmlAttributes - IDictionary

### ScriptAttributes - IDictionary

### HtmlHelper - IHtmlHelper

### ModelMetadataProvider - IModelMetadataProvider

### Name - String

### Explorer - ModelExplorer

### Selector - String

### IdPrefix - String

### ViewContext - ViewContext

### ValueProvider - IValueProvider

### UrlGenerator - IUrlGenerator

### HtmlEncoder - HtmlEncoder

### HasClientComponent - Boolean

### UseMvvmInitialization - Boolean

## Methods

### WriteInitializationScript(System.IO.TextWriter)

Writes the generated initialization script.

#### Parameters

##### writer - `System.IO.TextWriter`

### Serialize()

Serializes the passed settings.

### Render()

Renders the component.

### ToClientTemplate()

ToClientTemplate method.

### ToHtmlString()

ToHtmlString method.

#### RETURNS

The result.

### VerifySettings()

VerifySettings method.

### WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

#### Parameters

##### writer - `System.IO.TextWriter`

The writer.

### DeferStyles()

DeferStyles method.

### ProcessSettings()

ProcessSettings method.

### GetHtml(System.Boolean)

GetHtml method.

#### Parameters

##### includeScript - `System.Boolean`

#### RETURNS

The result.

### GetInitializator()

GetInitializator method.

#### RETURNS

The result.

### WriteDeferredScriptInitialization()

WriteDeferredScriptInitialization method.
