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. Sample code:
V2TimValueCallback<V2TimConversation> conv = await conversationManager.getConversation(conversationID: "conversationID");
Getting specified conversations
Call getConversationList
(Details) to get the list of specified conversations that stores V2TimConversation
objects. Sample code:
V2TimValueCallback<V2TimConversationResult> convList = await conversationManager.getConversationList(nextSeq: '', count: 10);
Was this page helpful?