Sha256: 4c26caaa7246a00e06d091b348b412d63a7fea13238c947cb7bd750af03b401a

Contents?: true

Size: 883 Bytes

Versions: 2

Compression:

Stored size: 883 Bytes

Contents

module TD::Types
  # The call is ready to use.
  #
  # @attr protocol [TD::Types::CallProtocol] Call protocols supported by the peer.
  # @attr servers [Array<TD::Types::CallServer>] List of available call servers.
  # @attr config [TD::Types::String] A JSON-encoded call config.
  # @attr encryption_key [String] Call encryption key.
  # @attr emojis [Array<TD::Types::String>] Encryption key emojis fingerprint.
  # @attr allow_p2p [Boolean] True, if peer-to-peer connection is allowed by users privacy settings.
  class CallState::Ready < CallState
    attribute :protocol, TD::Types::CallProtocol
    attribute :servers, TD::Types::Array.of(TD::Types::CallServer)
    attribute :config, TD::Types::String
    attribute :encryption_key, TD::Types::Coercible::String
    attribute :emojis, TD::Types::Array.of(TD::Types::String)
    attribute :allow_p2p, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/call_state/ready.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/call_state/ready.rb