Sha256: 853b85abd501c8955684b8e39ef611d00a3db5d87ce71fe45895e91c0cdc6136

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

module TD::Types
  # Represents the current authorization state of the 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

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/authorization_state.rb