Class: TD::Types::CallProtocol
- Defined in:
- lib/tdlib/types/call_protocol.rb
Overview
Specifies the supported call protocols.
Instance Attribute Summary collapse
-
#library_versions ⇒ Array<TD::Types::String>
List of supported tgcalls versions.
-
#max_layer ⇒ Integer
The maximum supported API layer; use 65.
-
#min_layer ⇒ Integer
The minimum supported API layer; use 65.
-
#udp_p2p ⇒ Boolean
True, if UDP peer-to-peer connections are supported.
-
#udp_reflector ⇒ Boolean
True, if connection through UDP reflectors is supported.
Method Summary
Methods inherited from Base
Instance Attribute Details
#library_versions ⇒ Array<TD::Types::String>
List of supported tgcalls versions.
9 10 11 |
# File 'lib/tdlib/types/call_protocol.rb', line 9 def library_versions @library_versions end |
#max_layer ⇒ Integer
The maximum supported API layer; use 65.
9 10 11 |
# File 'lib/tdlib/types/call_protocol.rb', line 9 def max_layer @max_layer end |
#min_layer ⇒ Integer
The minimum supported API layer; use 65.
9 10 11 |
# File 'lib/tdlib/types/call_protocol.rb', line 9 def min_layer @min_layer end |
#udp_p2p ⇒ Boolean
True, if UDP peer-to-peer connections are supported.
9 10 11 |
# File 'lib/tdlib/types/call_protocol.rb', line 9 def udp_p2p @udp_p2p end |
#udp_reflector ⇒ Boolean
True, if connection through UDP reflectors is supported.
9 10 11 |
# File 'lib/tdlib/types/call_protocol.rb', line 9 def udp_reflector @udp_reflector end |