public static class TdApi.DeleteAccount extends TdApi.Function
Returns Ok
TdApi.Function.Constructors| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
reason
The reason why the account was deleted; optional.
|
| Constructor and Description |
|---|
DeleteAccount()
Default constructor for a function, which deletes the account of the current user, deleting all information associated with the user from the server.
|
DeleteAccount(java.lang.String reason)
Creates a function, which deletes the account of the current user, deleting all information associated with the user from the server.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor() |
toStringpublic java.lang.String reason
public static final int CONSTRUCTOR
public DeleteAccount()
Returns Ok
public DeleteAccount(java.lang.String reason)
Returns Ok
reason - The reason why the account was deleted; optional.public int getConstructor()
getConstructor in class TdApi.Function