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

    Class GetConversationByTask

    Retrieves the conversation for a specified task.

    The SID of the conversation task.

    A promise that resolves to the conversation for the task.

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

    async function getConversationByTask() {
    const client = await createClient("SDK_TOKEN");
    const getConversationByTask = new GetConversationByTask(
    "WTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    );
    const conversation = await client.execute(getConversationByTask);
    return conversation;
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods