@twilio/flex-sdk
    Preparing search index...

    Class GetConversationBySid

    Retrieves a Conversation by its SID.

    The SID of the conversation to retrieve.

    A promise that resolves to the Conversation object.

    import { createClient } from "@twilio/flex-sdk";
    import { GetConversationBySid } from "@twilio/flex-sdk/actions/Conversation";

    async function getConversation() {
    const client = await createClient("SDK_TOKEN");
    const getConversation = new GetConversationBySid("CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
    const conversation = await client.execute(getConversation);
    return conversation;
    }

    Implements

    Index

    Constructors

    Constructors