메시지 조회
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.
Find A Message
API
chat.findMessage(messageID);
Parameter
Name | Type | Description |
messageID | String | Message ID |
Returned value
Sample
let message = chat.findMessage('144115217363870632-1647417469-77069006');if (message) {// Read the attributes of `message`, such as `readReceiptInfo`}