Class TdApi.CreateTemporaryPassword

    • Field Detail

      • password

        public String password
        Persistent user password.
      • validFor

        public int validFor
        Time during which the temporary password will be valid, in seconds; must 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 for a function, which creates a new temporary password for processing payments.

        Returns TemporaryPasswordState

      • CreateTemporaryPassword

        public CreateTemporaryPassword​(String password,
                                       int validFor)
        Creates a function, which creates a new temporary password for processing payments.

        Returns TemporaryPasswordState

        Parameters:
        password - Persistent user password.
        validFor - Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.