Class TdApi.CreateTemporaryPassword

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String password
      Persistent user password.
      int validFor
      Time during which the temporary password will be valid, in seconds; should be between 60 and 86400.
    • Field Detail

      • password

        public java.lang.String password
        Persistent user password.
      • validFor

        public int validFor
        Time during which the temporary password will be valid, in seconds; should be between 60 and 86400.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CreateTemporaryPassword

        public CreateTemporaryPassword()
        Default constructor.
      • CreateTemporaryPassword

        public CreateTemporaryPassword​(java.lang.String password,
                                       int validFor)
        Constructor for initialization of all fields.
        Parameters:
        password - Persistent user password.
        validFor - Time during which the temporary password will be valid, in seconds; should be between 60 and 86400.