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},
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan