Class TdApi.SuggestedActionSetPassword

Enclosing class:
TdApi

public static class TdApi.SuggestedActionSetPassword extends TdApi.SuggestedAction
Suggests the user to set a 2-step verification password to be able to log in again.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    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

    Constructors
    Constructor
    Description
    Suggests 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • authorizationDelay

      public int 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.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR