AddressMessageValues
Defined in: src/types/messages.ts:309
Address fields for an AddressMessagePayload. Fields map to snake_case API keys. Some fields are supported only in specific countries (noted below).
https://developers.facebook.com/docs/whatsapp/cloud-api/messages/address-messages
Properties
Section titled “Properties”address?
Section titled “address?”
optionaladdress?:string
Defined in: src/types/messages.ts:315
Street address (India, Singapore).
buildingName?
Section titled “buildingName?”
optionalbuildingName?:string
Defined in: src/types/messages.ts:327
Building name (India only). Maps to building_name.
optionalcity?:string
Defined in: src/types/messages.ts:317
City (India, Singapore).
floorNumber?
Section titled “floorNumber?”
optionalfloorNumber?:string
Defined in: src/types/messages.ts:323
Floor number (India only). Maps to floor_number.
houseNumber?
Section titled “houseNumber?”
optionalhouseNumber?:string
Defined in: src/types/messages.ts:321
House number (India only). Maps to house_number.
inPinCode?
Section titled “inPinCode?”
optionalinPinCode?:string
Defined in: src/types/messages.ts:319
PIN code (India only). Maps to in_pin_code; max length 6.
landmarkArea?
Section titled “landmarkArea?”
optionallandmarkArea?:string
Defined in: src/types/messages.ts:329
Landmark or area (India only). Maps to landmark_area.
optionalname?:string
Defined in: src/types/messages.ts:311
Full name (India, Singapore).
phoneNumber?
Section titled “phoneNumber?”
optionalphoneNumber?:string
Defined in: src/types/messages.ts:313
Phone number (India, Singapore). Maps to phone_number.
sgPostCode?
Section titled “sgPostCode?”
optionalsgPostCode?:string
Defined in: src/types/messages.ts:333
Postal code (Singapore only). Maps to sg_post_code; max length 6.
state?
Section titled “state?”
optionalstate?:string
Defined in: src/types/messages.ts:331
State (India only).
towerNumber?
Section titled “towerNumber?”
optionaltowerNumber?:string
Defined in: src/types/messages.ts:325
Tower number (India only). Maps to tower_number.
unitNumber?
Section titled “unitNumber?”
optionalunitNumber?:string
Defined in: src/types/messages.ts:335
Unit number (Singapore only). Maps to unit_number.
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.