MsgRevoke (Details).SetMsgRevokeCallback (Details).MsgRevokeCallback 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.Message message = new Message(); // Here, the message can be an instance returned by another API, such as the message list API.TIMResult res = TencentIMSDK.MsgRevoke(conv_id, TIMConvType.kTIMConv_C2C, message, (int code, string desc, string user_data) => {// Process the callback logic});
SetMsgRevokeCallback (Details).TencentIMSDK.SetMsgRevokeCallback((List<MsgLocator> msg_locator, string user_data) => {// 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