tencent cloud

Chat

Flutter

PDF
Focus Mode
Font Size
Last updated: 2025-04-16 14:40:39

Feature Description

You can call findMessages 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

Call the findMessages API (Details) to query a local message.
Sample code:
// Query a message by message ID
V2TimValueCallback<List<V2TimMessage>> msgListRes = await TencentImSDKPlugin.v2TIMManager.getMessageManager().findMessages(messageIDList: ['msgid']);


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback