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

    Type Alias OnCallStatusArgs

    type OnCallStatusArgs = {
        biz_opaque_callback_data?: string;
        id: `wacid.${string}`;
        offload: typeof offload;
        phone: string;
        phoneID: string;
        raw: PostData;
        status: "RINGING" | "ACCEPTED" | "REJECTED";
        timestamp: string;
        Whatsapp: InstanceType<typeof WhatsAppAPI>;
    }
    Index

    Properties

    biz_opaque_callback_data?: string

    Arbitrary string included in sent messages

    id: `wacid.${string}`

    The call ID

    offload: typeof offload

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

    phone: string

    The user's phone number

    phoneID: string

    The bot's phoneID

    The raw data from the API

    status: "RINGING" | "ACCEPTED" | "REJECTED"

    The call status

    timestamp: string

    The call timestamp

    Whatsapp: InstanceType<typeof WhatsAppAPI>

    The WhatsAppAPI instance that emitted the event