Class: TD::Types::CallProtocol
- Defined in:
- lib/tdlib/types/call_protocol.rb
Overview
Specifies the supported call protocols.
Instance Attribute Summary collapse
-
#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
#max_layer ⇒ Integer
The maximum supported API layer; use 65.
8 9 10 |
# File 'lib/tdlib/types/call_protocol.rb', line 8 def max_layer @max_layer end |
#min_layer ⇒ Integer
The minimum supported API layer; use 65.
8 9 10 |
# File 'lib/tdlib/types/call_protocol.rb', line 8 def min_layer @min_layer end |
#udp_p2p ⇒ Boolean
True, if UDP peer-to-peer connections are supported.
8 9 10 |
# File 'lib/tdlib/types/call_protocol.rb', line 8 def udp_p2p @udp_p2p end |
#udp_reflector ⇒ Boolean
True, if connection through UDP reflectors is supported.
8 9 10 |
# File 'lib/tdlib/types/call_protocol.rb', line 8 def udp_reflector @udp_reflector end |