Class: TD::Types::CallState::Ready
- Inherits:
-
TD::Types::CallState
- Object
- Dry::Struct
- Base
- TD::Types::CallState
- TD::Types::CallState::Ready
- Defined in:
- lib/tdlib/types/call_state/ready.rb
Overview
The call is ready to use.
Instance Attribute Summary collapse
-
#allow_p2p ⇒ Boolean
True, if peer-to-peer connection is allowed by users privacy settings.
-
#config ⇒ TD::Types::String
A JSON-encoded call config.
-
#custom_parameters ⇒ TD::Types::String
Custom JSON-encoded call parameters to be passed to tgcalls.
-
#emojis ⇒ Array<TD::Types::String>
Encryption key fingerprint represented as 4 emoji.
-
#encryption_key ⇒ String
Call encryption key.
-
#protocol ⇒ TD::Types::CallProtocol
Call protocols supported by the other call participant.
-
#servers ⇒ Array<TD::Types::CallServer>
List of available call servers.
Method Summary
Methods inherited from Base
Instance Attribute Details
#allow_p2p ⇒ Boolean
True, if peer-to-peer connection is allowed by users privacy settings.
11 12 13 |
# File 'lib/tdlib/types/call_state/ready.rb', line 11 def allow_p2p @allow_p2p end |
#config ⇒ TD::Types::String
A JSON-encoded call config.
11 12 13 |
# File 'lib/tdlib/types/call_state/ready.rb', line 11 def config @config end |
#custom_parameters ⇒ TD::Types::String
Custom JSON-encoded call parameters to be passed to tgcalls.
11 12 13 |
# File 'lib/tdlib/types/call_state/ready.rb', line 11 def custom_parameters @custom_parameters end |
#emojis ⇒ Array<TD::Types::String>
Encryption key fingerprint represented as 4 emoji.
11 12 13 |
# File 'lib/tdlib/types/call_state/ready.rb', line 11 def emojis @emojis end |
#encryption_key ⇒ String
Call encryption key.
11 12 13 |
# File 'lib/tdlib/types/call_state/ready.rb', line 11 def encryption_key @encryption_key end |
#protocol ⇒ TD::Types::CallProtocol
Call protocols supported by the other call participant.
11 12 13 |
# File 'lib/tdlib/types/call_state/ready.rb', line 11 def protocol @protocol end |
#servers ⇒ Array<TD::Types::CallServer>
List of available call servers.
11 12 13 |
# File 'lib/tdlib/types/call_state/ready.rb', line 11 def servers @servers end |