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

    Class RemoveEmailParticipant

    Removes a participant from an email task.

    The SID of the email task.

    The SID of the participant to remove.

    A promise that resolves to the removed participant when successfully removed.

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

    async function removeEmailParticipant() {
    const client = await createClient("SDK_TOKEN");
    const removeEmailParticipant = new RemoveEmailParticipant(
    "WTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "UTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    );
    const removedParticipant = await client.execute(removeEmailParticipant);
    return removedParticipant;
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods