VerifyRequest

data class VerifyRequest(account: String, code: String) : SignaldRequestBodyV1<Account>

verify an account's phone number with a code after registering, completing the account creation process

Constructors

VerifyRequest
Link copied to clipboard
common
fun VerifyRequest(account: String, code: String)

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): Account
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): Account

Properties

account
Link copied to clipboard
common
val account: String
the e164 phone number being verifiedExample: "+12024561414"
code
Link copied to clipboard
common
val code: String
the verification code, dash (-) optionalExample: "555555"
id
Link copied to clipboard
common
val id: String
The id to include in the request.
version
Link copied to clipboard
common
val version: String
The version to include in the request.