이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

대화 획득

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