Sha256: 79d116147571c9fb79a596d745eb28dedb0e7e650d8f8279f5b928aadc25079d

Contents?: true

Size: 342 Bytes

Versions: 6

Compression:

Stored size: 342 Bytes

Contents

module TD::Types
  # Describes the current state of the connection to Telegram servers.
  class ConnectionState < Base
    %w[
      waiting_for_network
      connecting_to_proxy
      connecting
      updating
      ready
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/connection_state/#{type}"
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/connection_state.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/connection_state.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/connection_state.rb
tdlib-ruby-2.2.0 lib/tdlib/types/connection_state.rb
tdlib-ruby-2.1.0 lib/tdlib/types/connection_state.rb
tdlib-ruby-2.0.0 lib/tdlib/types/connection_state.rb