Package org.drinkless.tdlib
Class TdApi.SetAccountTtl
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetAccountTtl
-
- Enclosing class:
- TdApi
public static class TdApi.SetAccountTtl extends TdApi.Function
Changes the period of inactivity after which the account of the current user will automatically be deleted.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.AccountTtlttlNew account TTL.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
ttl
public TdApi.AccountTtl ttl
New account TTL.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetAccountTtl
public SetAccountTtl()
Default constructor for a function, which changes the period of inactivity after which the account of the current user will automatically be deleted.Returns
Ok
-
SetAccountTtl
public 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.Returns
Ok- Parameters:
ttl- New account TTL.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-