-
Notifications
You must be signed in to change notification settings - Fork 11
delete account
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.coroutines / deleteAccount
suspend fun
TelegramFlow
.deleteAccount(reason:
String
?):
Unit
Suspend function, which deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword.
reason
- The reason why the account was deleted; optional.