whatsapp-api-js - v6.1.0
    Preparing search index...

    Type Alias OnCallTerminateArgs

    type OnCallTerminateArgs = {
        call: ServerCallTerminate;
        from: string;
        name?: string;
        offload: typeof offload;
        phoneID: string;
        raw: PostData;
        Whatsapp: InstanceType<typeof WhatsAppAPI>;
    }
    Index

    Properties

    The terminated call object

    from: string

    The user's phone number

    name?: string

    The username

    offload: typeof offload

    Utility function for offloading code from the main thread, useful for long running tasks such as AI generation

    phoneID: string

    The bot's phoneID

    The raw data from the API

    Whatsapp: InstanceType<typeof WhatsAppAPI>

    The WhatsAppAPI instance that emitted the event