Class: TD::Types::AuthorizationState::WaitEmailAddress

Inherits:
TD::Types::AuthorizationState show all
Defined in:
lib/tdlib/types/authorization_state/wait_email_address.rb

Overview

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.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#allow_apple_idBoolean

True, if authorization through Apple ID is allowed.

Returns:

  • (Boolean)

    the current value of allow_apple_id



8
9
10
# File 'lib/tdlib/types/authorization_state/wait_email_address.rb', line 8

def allow_apple_id
  @allow_apple_id
end

#allow_google_idBoolean

True, if authorization through Google ID is allowed.

Returns:

  • (Boolean)

    the current value of allow_google_id



8
9
10
# File 'lib/tdlib/types/authorization_state/wait_email_address.rb', line 8

def allow_google_id
  @allow_google_id
end