TencentImSDKPlugin.v2TIMManager.getMessageManager().addAdvancedMsgListener.onRecvMessageRevoked notification which contains the msgID of the recalled message. You can identify the recalled message at the UI layer based on the msgID and change the bubble for the message to the "Message recalled" status.V2TimCallback revokeMessage = await TencentImSDKPlugin.v2TIMManager.getMessageManager().revokeMessage(msgID: "");
addAdvancedMsgListener (Details) to set the advanced message listener.onRecvMessageRevoked (Details).onRecvMessageRevoked: (String messageid) {// Process the recalled message among locally maintained messages},
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback