# Interface MessageRecalledListener

消息撤回监听

#### Version

1.3.0

interface MessageRecalledListener {
onMessageRecalled(
message: Message,
recallMessage: RecallNotificationMessage,
): any;
}

- Defined in message/listener/MessageRecalledListener.ts:8

##### Index

### Methods

onMessageRecalled

## Methods

### onMessageRecalled

- onMessageRecalled(
  message: Message,
  recallMessage: RecallNotificationMessage,
  ): any

  消息撤回。撤回了之后，原始消息会变成 RecallNotificationMessage 消息

  #### Parameters

  - message: Message

    消息体

  - recallMessage: RecallNotificationMessage

    撤回小灰条消息。如果是撤回消息并删除原始消息时，recallMessage 为 null

  #### Returns any

  - Defined in message/listener/MessageRecalledListener.ts:14