Sha256: b54fe159102e4ae0833669b76939ef77911bf270f7a3e94ee88c3ae7031fbe08

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

module TD::Types
  # Represents the current authorization state of the TDLib client.
  class AuthorizationState < Base
    %w[
      wait_tdlib_parameters
      wait_encryption_key
      wait_phone_number
      wait_code
      wait_other_device_confirmation
      wait_registration
      wait_password
      ready
      logging_out
      closing
      closed
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/authorization_state/#{type}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/authorization_state.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/authorization_state.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/authorization_state.rb