libtd-ktx / kotlinx.telegram.coroutines / checkAuthenticationCode
checkAuthenticationCode
suspend fun TelegramFlow.checkAuthenticationCode(code: String?): Unit
Suspend function, which checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.
Parameters
code - The verification code received via SMS, Telegram message, phone call, or flash call.