JavaScript/jQuery Chat Types

Alert

A configuration object for an alert.

import { Alert } from "devextreme/ui/chat"
Type:

Object

Attachment

A configuration object for a file attachment.

import { Attachment } from "devextreme/ui/chat"
Type:

Object

AttachmentDownloadClickEvent

The argument type in the attachmentDownloadClick event.

import { AttachmentDownloadClickEvent } from "devextreme/ui/chat"
Type:

Object

DisposingEvent

The type of the disposing event handler's argument.

import { DisposingEvent } from "devextreme/ui/chat"
Type:

Object

ImageMessage

Configures image message.

import { ImageMessage } from "devextreme/ui/chat"
Type: MessageBase |

Object

InitializedEvent

The type of the initialized event handler's argument.

import { InitializedEvent } from "devextreme/ui/chat"
Type:

Object

InputFieldTextChangedEvent

The argument type in the inputFieldTextChanged event.

import { InputFieldTextChangedEvent } from "devextreme/ui/chat"
Type:

Object

Message

A configuration object for a message.

import { Message } from "devextreme/ui/chat"

MessageDeletedEvent

The argument type in the messageDeleted event.

import { MessageDeletedEvent } from "devextreme/ui/chat"
Type:

Object

MessageDeletingEvent

The argument type in the messageDeleting event.

import { MessageDeletingEvent } from "devextreme/ui/chat"
Type:

Object

MessageEditCanceledEvent

The argument type in the messageEditCanceled event.

import { MessageEditCanceledEvent } from "devextreme/ui/chat"
Type:

Object

MessageEditingStartEvent

The argument type in the messageEditingStart event.

import { MessageEditingStartEvent } from "devextreme/ui/chat"
Type:

Object

MessageEnteredEvent

The argument type in the messageEntered event.

import { MessageEnteredEvent } from "devextreme/ui/chat"
Type:

Object

MessageUpdatedEvent

The argument type in the messageUpdated event.

import { MessageUpdatedEvent } from "devextreme/ui/chat"
Type:

Object

MessageUpdatingEvent

The argument type in the messageUpdating event.

import { MessageUpdatingEvent } from "devextreme/ui/chat"
Type:

Object

OptionChangedEvent

The argument type in the optionChanged event.

import { OptionChangedEvent } from "devextreme/ui/chat"
Type:

Object

SendButtonAction

Accepted Values: 'send' | 'custom'

SendButtonClickEvent

The argument type in the sendButtonOptions.onClick handler.

import { SendButtonClickEvent } from "devextreme/ui/chat"
Type:

Object

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 { SendButtonProperties } from "devextreme/ui/chat"
Type:

Object

TextMessage

Configures a text message.

import { TextMessage } from "devextreme/ui/chat"
Type: MessageBase |

Object

TypingEndEvent

The argument type in the typingEnd event.

import { TypingEndEvent } from "devextreme/ui/chat"
Type:

Object

TypingStartEvent

The argument type in the typingStart.

import { TypingStartEvent } from "devextreme/ui/chat"
Type:

Object

User

A configuration object for a user.

import { User } from "devextreme/ui/chat"
Type:

Object