Class: TD::Types::CallState::Ready

Inherits:
TD::Types::CallState show all
Defined in:
lib/tdlib/types/call_state/ready.rb

Overview

The call is ready to use.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#allow_p2pBoolean

True, if peer-to-peer connection is allowed by users privacy settings.

Returns:

  • (Boolean)

    the current value of allow_p2p



10
11
12
# File 'lib/tdlib/types/call_state/ready.rb', line 10

def allow_p2p
  @allow_p2p
end

#configTD::Types::String

A JSON-encoded call config.

Returns:

  • (TD::Types::String)

    the current value of config



10
11
12
# File 'lib/tdlib/types/call_state/ready.rb', line 10

def config
  @config
end

#emojisArray<TD::Types::String>

Encryption key emojis fingerprint.

Returns:

  • (Array<TD::Types::String>)

    the current value of emojis



10
11
12
# File 'lib/tdlib/types/call_state/ready.rb', line 10

def emojis
  @emojis
end

#encryption_keyString

Call encryption key.

Returns:

  • (String)

    the current value of encryption_key



10
11
12
# File 'lib/tdlib/types/call_state/ready.rb', line 10

def encryption_key
  @encryption_key
end

#protocolTD::Types::CallProtocol

Call protocols supported by the peer.

Returns:



10
11
12
# File 'lib/tdlib/types/call_state/ready.rb', line 10

def protocol
  @protocol
end

#serversArray<TD::Types::CallServer>

List of available call servers.

Returns:



10
11
12
# File 'lib/tdlib/types/call_state/ready.rb', line 10

def servers
  @servers
end