このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

セッションの取得

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);