checkChangePhoneNumberCode - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / checkChangePhoneNumberCode

checkChangePhoneNumberCode

suspend fun TelegramFlow.checkChangePhoneNumberCode(code: String?): Unit

Suspend function, which checks the authentication code sent to confirm a new phone number of the user.

Parameters

code - Verification code received by SMS, phone call or flash call.