Blocked Message Info
含有敏感词消息被拦截的信息类
Author
yanke on 2021/7/12
See also
io. rong. imlib. IRong Core Listener. Message Block Listener
Properties
Link copied to clipboard
被拦截的消息ID
Link copied to clipboard
public ConversationType conversationType
会话类型
Link copied to clipboard
源内容。sourceType=1/2时返回;1扩展内容,2消息内容 目前只支持超级群*
Link copied to clipboard
public int sourceType
消息源触发类型。0 默认,原始消息;1 消息扩展;2 消息修改 目前只支持超级群*
Functions
Link copied to clipboard
Link copied to clipboard
/~chinese 获取被拦截消息的唯一 Id.
Link copied to clipboard
Link copied to clipboard
/~chinese 获取被拦截消息所在会话的会话类型。
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
/~chinese 获取被拦截消息所在会话的会话 Id。
Link copied to clipboard
public static BlockedMessageInfo obtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String extra)
public static BlockedMessageInfo obtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String channelId, String extra)
public static BlockedMessageInfo obtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String channelId, String extra, int sourceType, String sourceContent)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard