Skip to content

resend authentication code

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally