Parameters

data class Parameters(val phoneNumber: String, val expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES)

Parameters

phoneNumber

the number the OTP code should be sent to via WhatsApp, in E.164 format (i.e. +1XXXXXXXXXX)

expirationMinutes

indicates how long the OTP should last before it expires

Constructors

Link copied to clipboard
fun Parameters(phoneNumber: String, expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES)

Properties

Link copied to clipboard
val expirationMinutes: UInt
Link copied to clipboard
val phoneNumber: String