intercept On Insert Incoming Message
public abstract boolean interceptOnInsertIncomingMessage(ChannelType type, String targetId, String senderId, MessageReceivedStatusInfo receivedStatus, MessageContent content, long sentTime)
Called before an incoming message is inserted into the local database.
Return
true to intercept; false to pass through
Parameters
type
channel type
target Id
target channel ID
sender Id
sender user ID
received Status
received status
content
message content
sent Time
sent timestamp