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

    Class GetCallByTask

    Returns VoiceCall object associated with the provided task.

    The unique identifier (SID) of the task.

    Optional configuration parameters, containing an optional custom voice Device.

    A promise that resolves to a VoiceCall object, representing the linked call.

    import { createClient } from "@twilio/flex-sdk";
    import { GetCallByTask } from "@twilio/flex-sdk/actions/Voice";

    async function getCallByTask() {
    const client = await createClient("SDK_TOKEN");
    const getCallByTask = new GetCallByTask("WTXXX");
    const voiceCall = await client.execute(getCallByTask);
    return voiceCall;
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods