Sha256: c261196e6d59c600600248063b225bc5a6b1128ff9d7380fcf52641ba76addc1

Contents?: true

Size: 734 Bytes

Versions: 4

Compression:

Stored size: 734 Bytes

Contents

module TD::Types
  # Contains information about a proxy server.
  #
  # @attr id [Integer] Unique identifier of the proxy.
  # @attr server [String] Proxy server IP address.
  # @attr port [Integer] Proxy server port.
  # @attr last_used_date [Integer] Point in time (Unix timestamp) when the proxy was last used; 0 if never.
  # @attr is_enabled [Boolean] True, if the proxy is enabled now.
  # @attr type [TD::Types::ProxyType] Type of the proxy.
  class Proxy < Base
    attribute :id, TD::Types::Integer
    attribute :server, TD::Types::String
    attribute :port, TD::Types::Integer
    attribute :last_used_date, TD::Types::Integer
    attribute :is_enabled, TD::Types::Bool
    attribute :type, TD::Types::ProxyType
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/proxy.rb
tdlib-ruby-2.2.0 lib/tdlib/types/proxy.rb
tdlib-ruby-2.1.0 lib/tdlib/types/proxy.rb
tdlib-ruby-2.0.0 lib/tdlib/types/proxy.rb