resendChangePhoneNumberCode - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / resendChangePhoneNumberCode

resendChangePhoneNumberCode

suspend fun TelegramFlow.resendChangePhoneNumberCode(): AuthenticationCodeInfo

Suspend function, which re-sends the authentication code sent to confirm a new phone number for the user. Works only if the previously received authenticationCodeInfo nextCodeType was not null.

Return AuthenticationCodeInfo Information about the authentication code that was sent.