Parameters

data class Parameters @JvmOverloads constructor(val phoneNumber: String, val expirationMinutes: Int = DEFAULT_OTP_EXPIRATION_TIME_MINUTES) : Parcelable

Data class used for wrapping parameters used with WhatsApp OTP

Constructors

Link copied to clipboard
constructor(phoneNumber: String, expirationMinutes: Int = DEFAULT_OTP_EXPIRATION_TIME_MINUTES)

Properties

Link copied to clipboard

indicates how long the OTP should last before it expires

Link copied to clipboard

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