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

    Class UnholdVoiceParticipant

    Removes a participant from hold status in a task.

    The unique identifier (SID) of the participant to be unheld. Can be either a worker SID or participant SID.

    The unique identifier (SID) of the task to unhold the participant in.

    A promise that resolves when the participant is successfully unheld.

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

    async function unholdParticipant() {
    const client = await createClient("SDK_TOKEN");
    const unholdVoiceParticipant = new UnholdVoiceParticipant("WKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "WTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
    await client.execute(unholdVoiceParticipant);
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • ctx: {}

      Returns Promise<void>