Module tdlight.api

Class TdApi.AuthorizationStateWaitEmailAddress

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AuthorizationState
it.tdlight.jni.TdApi.AuthorizationStateWaitEmailAddress
Enclosing class:
TdApi

public static final class TdApi.AuthorizationStateWaitEmailAddress extends TdApi.AuthorizationState
TDLib needs the user's email address to authorize. Call `setAuthenticationEmailAddress` to provide the email address, or directly call `checkAuthenticationEmailCode` with Apple ID/Google ID token if allowed.
  • Field Details

    • allowAppleId

      public boolean allowAppleId
      True, if authorization through Apple ID is allowed.
    • allowGoogleId

      public boolean allowGoogleId
      True, if authorization through Google ID is allowed.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AuthorizationStateWaitEmailAddress

      public AuthorizationStateWaitEmailAddress()
      TDLib needs the user's email address to authorize. Call `setAuthenticationEmailAddress` to provide the email address, or directly call `checkAuthenticationEmailCode` with Apple ID/Google ID token if allowed.
    • AuthorizationStateWaitEmailAddress

      public AuthorizationStateWaitEmailAddress(boolean allowAppleId, boolean allowGoogleId)
      TDLib needs the user's email address to authorize. Call `setAuthenticationEmailAddress` to provide the email address, or directly call `checkAuthenticationEmailCode` with Apple ID/Google ID token if allowed.
      Parameters:
      allowAppleId - boolean True, if authorization through Apple ID is allowed.
      allowGoogleId - boolean True, if authorization through Google ID is allowed.
    • AuthorizationStateWaitEmailAddress

      public AuthorizationStateWaitEmailAddress(DataInput input) throws IOException
      TDLib needs the user's email address to authorize. Call `setAuthenticationEmailAddress` to provide the email address, or directly call `checkAuthenticationEmailCode` with Apple ID/Google ID token if allowed.
      Throws:
      IOException
  • Method Details