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

    Class StartConversationTransfer

    Transfers a conversation to an another worker, a queue or a workflow.

    The SID of the task the conversation belongs to.

    Worker SID or Workflow SID or Queue SID to which the conversation should be transferred.

    Optional configuration parameters for customizing the conversation transfer.

    A promise that resolves when the conversation is successfully transferred.

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

    async function startConversationTransfer() {
    const client = await createClient("SDK_TOKEN");
    const startConversationTransferAction = new StartConversationTransfer(
    "WTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "WKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    );
    await client.execute(startConversationTransferAction);
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • ctx: {}

      Returns Promise<void>