React Chat - MessageDeletingEvent

The argument type in the messageDeleting event.

import { ChatTypes } from "devextreme-react/chat"
Type: ChatTypes.MessageDeletingEvent

cancel

Allows you to cancel message deleting.

Type:

Boolean

|

Promise<Boolean> (jQuery or native)

true, a Promise resolved with true, or a rejected Promise stops message removal.
false or a Promise resolved with false or undefined continues message removal.

component

The UI component's instance.

Selector: Component
Type: Chat

element

The UI component's container.

message

The message that is being deleted.

Type:

Message