Class TdApi.AuthorizationStateWaitRegistration

Enclosing class:
TdApi

public static class TdApi.AuthorizationStateWaitRegistration extends TdApi.AuthorizationState
The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration. Call registerUser to accept the terms of service and provide the data.
  • Field Details

    • termsOfService

      public TdApi.TermsOfService termsOfService
      Telegram terms of service.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • AuthorizationStateWaitRegistration

      public AuthorizationStateWaitRegistration()
      The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration. Call registerUser to accept the terms of service and provide the data.
    • AuthorizationStateWaitRegistration

      public AuthorizationStateWaitRegistration(TdApi.TermsOfService termsOfService)
      The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration. Call registerUser to accept the terms of service and provide the data.
      Parameters:
      termsOfService - Telegram terms of service.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR