Skip to content

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.

optional first_name?: string

Defined in: src/types/messages.ts:89


formatted_name: string

Defined in: src/types/messages.ts:88


optional last_name?: string

Defined in: src/types/messages.ts:90


optional middle_name?: string

Defined in: src/types/messages.ts:91


optional prefix?: string

Defined in: src/types/messages.ts:93


optional suffix?: 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.