Class TdApi.AuthorizationStateWaitCode

  • Enclosing class:
    TdApi

    public static class TdApi.AuthorizationStateWaitCode
    extends TdApi.AuthorizationState
    TDLib needs the user's authentication code to finalize authorization.
    • Field Detail

      • isRegistered

        public boolean isRegistered
        True, if the user is already registered.
      • CONSTRUCTOR

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

      • AuthorizationStateWaitCode

        public AuthorizationStateWaitCode()
        Default constructor.
      • AuthorizationStateWaitCode

        public AuthorizationStateWaitCode​(boolean isRegistered,
                                          TdApi.AuthenticationCodeInfo codeInfo)
        Constructor for initialization of all fields.
        Parameters:
        isRegistered - True, if the user is already registered.
        codeInfo - Information about the authorization code that was sent.