public static class TdApi.SetAccountTtl extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.AccountTtl |
ttl
New account TTL.
|
| Constructor and Description |
|---|
SetAccountTtl()
Default constructor for a function, which changes the period of inactivity after which the account of the current user will automatically be deleted.
|
SetAccountTtl(TdApi.AccountTtl ttl)
Creates a function, which changes the period of inactivity after which the account of the current user will automatically be deleted.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.AccountTtl ttl
public static final int CONSTRUCTOR
public SetAccountTtl()
Returns Ok
public SetAccountTtl(TdApi.AccountTtl ttl)
Returns Ok
ttl - New account TTL.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object