send

abstract suspend fun send(parameters: OTP.SMS.SendParameters): BasicResponse

Send a one-time passcode (OTP) to a user using their phone number via SMS.

Return

BasicResponse

Parameters

parameters

required to receive a SMS OTP


abstract fun send(parameters: OTP.SMS.SendParameters, callback: (BasicResponse) -> Unit)

Send a one-time passcode (OTP) to a user using their phone number via SMS.

Parameters

parameters

required to receive a SMS OTP

callback

a callback that receives a BasicResponse