Type Alias ServerContactsMessage

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";
}

Type declaration

  • 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"