Angular Chat Types

Alert

A configuration object for an alert.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.Alert

Attachment

A configuration object for a file attachment.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.Attachment

AttachmentDownloadClickEvent

The argument type in the attachmentDownloadClick event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.AttachmentDownloadClickEvent

DisposingEvent

The type of the disposing event handler's argument.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.DisposingEvent

ImageMessage

Configures image message.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.ImageMessage

InitializedEvent

The type of the initialized event handler's argument.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.InitializedEvent

InputFieldTextChangedEvent

The argument type in the inputFieldTextChanged event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.InputFieldTextChangedEvent

Message

A configuration object for a message.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.Message

MessageDeletedEvent

The argument type in the messageDeleted event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.MessageDeletedEvent

MessageDeletingEvent

The argument type in the messageDeleting event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.MessageDeletingEvent

MessageEditCanceledEvent

The argument type in the messageEditCanceled event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.MessageEditCanceledEvent

MessageEditingStartEvent

The argument type in the messageEditingStart event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.MessageEditingStartEvent

MessageEnteredEvent

The argument type in the messageEntered event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.MessageEnteredEvent

MessageUpdatedEvent

The argument type in the messageUpdated event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.MessageUpdatedEvent

MessageUpdatingEvent

The argument type in the messageUpdating event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.MessageUpdatingEvent

OptionChangedEvent

The argument type in the optionChanged event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.OptionChangedEvent

SendButtonAction

Accepted Values: 'send' | 'custom'

SendButtonClickEvent

The argument type in the sendButtonOptions.onClick handler.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.SendButtonClickEvent

Do not use EventInfo if you specify this type.

Code
interface NativeEventInfo<TComponent, TNativeEvent = Event> {
    readonly component: TComponent;
    readonly element: DxElement;
    readonly event?: EventObject & TNativeEvent;
}

interface EventObject {
    currentTarget: Element;
    data: any;
    delegateTarget: Element;
    target: Element;
    isDefaultPrevented(): boolean;
    isImmediatePropagationStopped(): boolean;
    isPropagationStopped(): boolean;
    preventDefault(): void;
    stopImmediatePropagation(): void;
    stopPropagation(): void;
}

SendButtonProperties

A configuration object for the Send button.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.SendButtonProperties

TextMessage

Configures a text message.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.TextMessage

TypingEndEvent

The argument type in the typingEnd event.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.TypingEndEvent

TypingStartEvent

The argument type in the typingStart.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.TypingStartEvent

User

A configuration object for a user.

import { DxChatTypes } from "devextreme-angular/ui/chat"
Type: DxChatTypes.User