Interface WhatsAppGroupParticipant

interface WhatsAppGroupParticipant {
    id?: string;
    id_type?: "user_id" | "wa_id";
    name?: null | string;
    parent_user_id?: null | string;
    phone?: null | string;
    user?: string;
    user_id?: null | string;
    username?: null | string;
    wa_id?: null | string;
}

Properties

id?: string

Stable participant identifier: the business-scoped user ID (BSUID) when Meta sends one, otherwise the WhatsApp ID. Pass it to removeParticipants.

id_type?: "user_id" | "wa_id"

user_id when id is a BSUID, wa_id when it is a WhatsApp ID.

name?: null | string
parent_user_id?: null | string

Parent BSUID, only when your business portfolio is enrolled.

phone?: null | string
user?: string

WhatsApp user ID used by participant-removal requests.

user_id?: null | string

Business-scoped user ID (BSUID), for example US.13491208655302741918.

username?: null | string

WhatsApp username, when the user has adopted one.

wa_id?: null | string

Provider phone/WhatsApp ID. Null when the user has adopted a username and their phone number is unavailable.