getConversationManager

Introduction

Get the conversation manager, which is the main class for those conversation-related methods.

The main class for those conversation-related methods.

Parameter details

This API has no parameters

Returned template

V2TIMConversationManager

Return value details

name type description
V2TIMConversationManager V2TIMConversationManager The entry point for conversation function.

Code example

    V2TimValueCallback<V2TimConversation> getConversationtRes =
        await TencentImSDKPlugin.v2TIMManager
            .getConversationManager()
            .getConversation(conversationID: "");
    if (getConversationtRes.code == 0) {
       getConversationtRes.data?.conversationID;
       getConversationtRes.data?.draftText;
       getConversationtRes.data?.draftTimestamp;
       getConversationtRes.data?.faceUrl;
       getConversationtRes.data?.groupAtInfoList;
       getConversationtRes.data?.groupID;
       getConversationtRes.data?.groupType;
       getConversationtRes.data?.isPinned;
       getConversationtRes.data?.lastMessage;
       getConversationtRes.data?.orderkey;
       getConversationtRes.data?.recvOpt;
       getConversationtRes.data?.showName;
       getConversationtRes.data?.type;
       getConversationtRes.data?.unreadCount;
       getConversationtRes.data?.userID;
    }

results matching ""

    No results matching ""