クエリーメッセージ
Feature Description
You can call
MsgFindMessages
to query a local message by messageID
.1. Only local messages can be queried, for example, received messages or historical messages pulled by API.
2. Audio-video group (AVChatRoom) messages cannot be queried, as they are not saved locally.
Querying a Local Message
Sample code:
// Query a message by message IDTIMResult res = TencentIMSDK.MsgFindMessages(message_id_array, (int code, string desc, List<Message> messages, string user_data) => {// Process the callback logic});