java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.SuggestedAction
it.tdlight.jni.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.Suggests the user to set a 2-step verification password to be able to log in again. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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.
-
SuggestedActionSetPassword
Suggests the user to set a 2-step verification password to be able to log in again.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-