Class TdApi.SuggestedActionSetPassword
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.SuggestedAction
dev.voroby.springframework.telegram.client.TdApi.SuggestedActionSetPassword
- Enclosing class:
- TdApi
Suggests the user to set a 2-step verification password to be able to log in again.
-
Field Summary
Modifier and TypeFieldDescriptionint
The number of days to pass between consecutive authorizations if the user declines to set password; if 0, then the user is advised to set the password for security reasons.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionSuggests the user to set a 2-step verification password to be able to log in again.SuggestedActionSetPassword
(int authorizationDelay) Suggests the user to set a 2-step verification password to be able to log in again. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
authorizationDelay
public int authorizationDelayThe number of days to pass between consecutive authorizations if the user declines to set password; if 0, then the user is advised to set the password for security reasons. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SuggestedActionSetPassword
public SuggestedActionSetPassword()Suggests the user to set a 2-step verification password to be able to log in again. -
SuggestedActionSetPassword
public SuggestedActionSetPassword(int authorizationDelay) Suggests the user to set a 2-step verification password to be able to log in again.- Parameters:
authorizationDelay
- The number of days to pass between consecutive authorizations if the user declines to set password; if 0, then the user is advised to set the password for security reasons.
-
-
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
-