Skip to content

RequestVerificationCodeOptions

Defined in: src/types/phone-numbers.ts:35

Delivery method for a phone-number verification code.

codeMethod: "SMS" | "VOICE"

Defined in: src/types/phone-numbers.ts:37

How Meta should deliver the verification code.


language: string

Defined in: src/types/phone-numbers.ts:39

BCP-47 language/locale for the message, e.g. en_US.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.