이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

메시지 조회

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

Call the findMessages API (Details) to query a local message.
Below is the sample code:
// Query a message by message ID
const msgListRes = await TencentImSDKPlugin.v2TIMManager
.getMessageManager()
.findMessages(["msgid"]);