ContactName
Defined in: src/types/messages.ts:87
Structured name for a contact card. formatted_name is required by the API;
the remaining component name parts are optional.
Properties
Section titled “Properties”first_name?
Section titled “first_name?”
optionalfirst_name?:string
Defined in: src/types/messages.ts:89
formatted_name
Section titled “formatted_name”formatted_name:
string
Defined in: src/types/messages.ts:88
last_name?
Section titled “last_name?”
optionallast_name?:string
Defined in: src/types/messages.ts:90
middle_name?
Section titled “middle_name?”
optionalmiddle_name?:string
Defined in: src/types/messages.ts:91
prefix?
Section titled “prefix?”
optionalprefix?:string
Defined in: src/types/messages.ts:93
suffix?
Section titled “suffix?”
optionalsuffix?:string
Defined in: src/types/messages.ts:92
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.