Phone API object

Hierarchy (view full)

Constructors

Properties

Constructors

  • Builds a phone object for a contact. A contact can contain multiple phones objects.

    Parameters

    • Optionalphone: string

      Phone number, automatically populated with the wa_id value as a formatted phone number

    • Optionaltype: string

      Phone type. Standard Values: CELL, MAIN, IPHONE, HOME, WORK

    • Optionalwa_id: string

      WhatsApp ID

    Returns Phone

Properties

phone?: string

The phone number of the contact

type?: string

The type of the phone number

wa_id?: string

The WhatsApp ID of the contact