whatsapp-api-js - v5.2.0
    Preparing search index...

    Type Alias ServerContactsMessage

    type ServerContactsMessage = {
        contacts: [
            {
                addresses?: [
                    {
                        city?: string;
                        country?: string;
                        country_code?: string;
                        state?: string;
                        street?: string;
                        type?: string;
                        zip?: string;
                    },
                ];
                birthday?: string;
                emails?: [{ email?: string; type?: string }];
                name: {
                    first_name?: string;
                    formatted_name: string;
                    last_name?: string;
                    middle_name?: string;
                    prefix?: string;
                    suffix?: string;
                };
                org?: { company?: string; department?: string; title?: string };
                phones?: [{ phone?: string; type?: string; wa_id?: string }];
                urls?: [{ type?: string; url?: string }];
            },
        ];
        type: "contacts";
    }
    Index

    Properties

    Properties

    contacts: [
        {
            addresses?: [
                {
                    city?: string;
                    country?: string;
                    country_code?: string;
                    state?: string;
                    street?: string;
                    type?: string;
                    zip?: string;
                },
            ];
            birthday?: string;
            emails?: [{ email?: string; type?: string }];
            name: {
                first_name?: string;
                formatted_name: string;
                last_name?: string;
                middle_name?: string;
                prefix?: string;
                suffix?: string;
            };
            org?: { company?: string; department?: string; title?: string };
            phones?: [{ phone?: string; type?: string; wa_id?: string }];
            urls?: [{ type?: string; url?: string }];
        },
    ]
    type: "contacts"