Feature Description
The IM SDK provides an API for getting conversations, which can be used to get the V2TimConversation
object information of one or multiple specified conversations.
Getting a specified conversation
Call getConversation
(Details) to get the information of a conversation, which is a V2TimConversation
object. Below is the sample code:
const conv = await conversationManager.getConversation("conversationID");
Getting specified conversations
Call getConversationList
(Details) to get the list of specified conversations that stores V2TimConversation
objects. Below is the sample code:
const count = 10;
const nextSeq = "";
const convList = await conversationManager.getConversationList(count, nextSeq);
Was this page helpful?