# Interface MessageBlockedListener

消息敏感词拦截监听

#### Version

1.3.0

interface MessageBlockedListener {
onMessageBlocked(blockInfo: MessageBlockInfo): any;
}

- Defined in message/listener/MessageBlockedListener.ts:7

##### Index

### Methods

onMessageBlocked

## Methods

### onMessageBlocked

- onMessageBlocked(blockInfo: MessageBlockInfo): any

  消息敏感词拦截

  #### Parameters

  - blockInfo: MessageBlockInfo

    拦截信息

  #### Returns any

  #### Discussion

  当发送消息触发敏感词拦截的时候，会触发该回调

  #### See

  MessageBlockInfo

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