Class: TD::Types::CallProtocol

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/call_protocol.rb

Overview

Specifies the supported call protocols.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#max_layerInteger

The maximum supported API layer; use 65.

Returns:

  • (Integer)

    the current value of max_layer



8
9
10
# File 'lib/tdlib/types/call_protocol.rb', line 8

def max_layer
  @max_layer
end

#min_layerInteger

The minimum supported API layer; use 65.

Returns:

  • (Integer)

    the current value of min_layer



8
9
10
# File 'lib/tdlib/types/call_protocol.rb', line 8

def min_layer
  @min_layer
end

#udp_p2pBoolean

True, if UDP peer-to-peer connections are supported.

Returns:

  • (Boolean)

    the current value of udp_p2p



8
9
10
# File 'lib/tdlib/types/call_protocol.rb', line 8

def udp_p2p
  @udp_p2p
end

#udp_reflectorBoolean

True, if connection through UDP reflectors is supported.

Returns:

  • (Boolean)

    the current value of udp_reflector



8
9
10
# File 'lib/tdlib/types/call_protocol.rb', line 8

def udp_reflector
  @udp_reflector
end