Package org.drinkless.tdlib
Class TdApi.UpdateFreezeState
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdateFreezeState
- Enclosing class:
- TdApi
The freeze state of the current user's account has changed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe link to open to send an appeal to unfreeze the account.static final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when the account will be deleted and can't be unfrozen; 0 if the account isn't frozen.int
Point in time (Unix timestamp) when the account was frozen; 0 if the account isn't frozen.boolean
True, if the account is frozen. -
Constructor Summary
ConstructorsConstructorDescriptionThe freeze state of the current user's account has changed.UpdateFreezeState
(boolean isFrozen, int freezingDate, int deletionDate, String appealLink) The freeze state of the current user's account has changed. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
isFrozen
public boolean isFrozenTrue, if the account is frozen. -
freezingDate
public int freezingDatePoint in time (Unix timestamp) when the account was frozen; 0 if the account isn't frozen. -
deletionDate
public int deletionDatePoint in time (Unix timestamp) when the account will be deleted and can't be unfrozen; 0 if the account isn't frozen. -
appealLink
The link to open to send an appeal to unfreeze the account. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateFreezeState
public UpdateFreezeState()The freeze state of the current user's account has changed. -
UpdateFreezeState
The freeze state of the current user's account has changed.- Parameters:
isFrozen
- True, if the account is frozen.freezingDate
- Point in time (Unix timestamp) when the account was frozen; 0 if the account isn't frozen.deletionDate
- Point in time (Unix timestamp) when the account will be deleted and can't be unfrozen; 0 if the account isn't frozen.appealLink
- The link to open to send an appeal to unfreeze the account.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-