resendAuthenticationCode - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / resendAuthenticationCode

resendAuthenticationCode

suspend fun TelegramFlow.resendAuthenticationCode(): Unit

Suspend function, which re-sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitCode and the nextCodeType of the result is not null.