SDKsReact Native
Get conversations by ID
Retrieve multiple conversations by their conversation IDs.
When you already have a set of conversation IDs, call getMultipleConversation() to retrieve their conversation information.
const conversations = await OpenIMSDK.getMultipleConversation(conversationIDList);Parameters
conversationIDList is the array of conversation IDs to query.
Return result
The call returns ConversationItem[]. The result may contain fewer items than the input IDs; an ID that is not returned was not found by the SDK. See Retrieve the conversation list for conversation fields.
Was this page helpful?