Sha256: 17b13a91a3fab7a5ce6af4ea9092c8212debee099902b927419e18fbd67b3af1

Contents?: true

Size: 744 Bytes

Versions: 1

Compression:

Stored size: 744 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<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::Integer
    attribute :max_layer, TD::Types::Integer
    attribute :library_versions, TD::Types::Array.of(TD::Types::String)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/call_protocol.rb