Blocked Message Info
Info about a message blocked due to profanity filter.
Delivered via ai.nexconn.chat.handler.MessageHandler.onMessageBlocked when a sent message is blocked because it contains profanity words.
Parameters
channel Identifier
Channel identifier of the blocked message
message Id
Unique ID of the blocked message
block Type
Reason for blocking
extra
Additional info
source Type
Message source trigger type: 0 = original message, 1 = metadata update, 2 = message modification
source Content
Source content; present when sourceType is 1 (metadata content) or 2 (message content)
Constructors
Link copied to clipboard
public BlockedMessageInfo BlockedMessageInfo(ChannelIdentifier channelIdentifier, String messageId, MessageBlockType blockType, String extra, Integer sourceType, String sourceContent)