tencent cloud


React Native

Last updated: 2024-02-06 17:22:11

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

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support