Sha256: 82bd8c7bfe8937dfb899534d6db52498633282ee06765fd2730fe14ea3f3acfe

Contents?: true

Size: 777 Bytes

Versions: 2

Compression:

Stored size: 777 Bytes

Contents

module TD::Types
  # Specifies the supported call protocols.
  #
  # @attr udp_p2p [Boolean] True, if UDP peer-to-peer connections are supported.
  # @attr udp_reflector [Boolean] True, if connection through UDP reflectors is supported.
  # @attr min_layer [Integer] The minimum supported API layer; use 65.
  # @attr max_layer [Integer] The maximum supported API layer; use 65.
  # @attr library_versions [Array<TD::Types::String>] List of supported tgcalls versions.
  class CallProtocol < Base
    attribute :udp_p2p, TD::Types::Bool
    attribute :udp_reflector, TD::Types::Bool
    attribute :min_layer, TD::Types::Coercible::Integer
    attribute :max_layer, TD::Types::Coercible::Integer
    attribute :library_versions, TD::Types::Array.of(TD::Types::String)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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