Parameters
data class Parameters(val phoneNumber: String, val expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES)
Content copied to clipboard
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)
Content copied to clipboard