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

    Class GetTaskParticipants

    Retrieves all participants attached to a task.

    The unique identifier (SID) of the task.

    A promise that resolves to an array of Participant objects.

    import { createClient } from "@twilio/flex-sdk";
    import { GetTaskParticipants } from "@twilio/flex-sdk/actions/Task";

    async function getTaskParticipants() {
    const client = await createClient("SDK_TOKEN");
    const getTaskParticipants = new GetTaskParticipants("WTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
    const participants = await client.execute(getTaskParticipants);
    return participants;
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods