Querying Message
Feature Description
findMessages
can be called to query a local message by messageID
.1. Only local messages can be queried, for example, received messages or historical messages pulled after the API is called.
2. Audio-video group (AVChatRoom) messages cannot be queried, as they are not saved locally.
Querying a Local Message
Below is the sample code:
// Query a message by message IDconst msgListRes = await TencentImSDKPlugin.v2TIMManager.getMessageManager().findMessages(["msgid"]);