Class TdApi.TemporaryPasswordState

  • Enclosing class:
    TdApi

    public static class TdApi.TemporaryPasswordState
    extends TdApi.Object
    Returns information about the availability of a temporary password, which can be used for payments.
    • Field Detail

      • hasPassword

        public boolean hasPassword
        True, if a temporary password is available.
      • validFor

        public int validFor
        Time left before the temporary password expires, in seconds.
      • CONSTRUCTOR

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

      • TemporaryPasswordState

        public TemporaryPasswordState()
        Returns information about the availability of a temporary password, which can be used for payments.
      • TemporaryPasswordState

        public TemporaryPasswordState​(boolean hasPassword,
                                      int validFor)
        Returns information about the availability of a temporary password, which can be used for payments.
        Parameters:
        hasPassword - True, if a temporary password is available.
        validFor - Time left before the temporary password expires, in seconds.