Class TdApi.TemporaryPasswordState

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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 Details

    • 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
      See Also:
      Constant Field Values
  • Constructor Details

    • 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 - boolean True, if a temporary password is available.
      validFor - int Time left before the temporary password expires, in seconds.
    • TemporaryPasswordState

      public TemporaryPasswordState​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details