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

#library_versionsArray<TD::Types::String>

List of supported tgcalls versions.

Returns:

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

    the current value of library_versions



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

def library_versions
  @library_versions
end

#max_layerInteger

The maximum supported API layer; use 65.

Returns:

  • (Integer)

    the current value of max_layer



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

def max_layer
  @max_layer
end

#min_layerInteger

The minimum supported API layer; use 65.

Returns:

  • (Integer)

    the current value of min_layer



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

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



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

def udp_p2p
  @udp_p2p
end

#udp_reflectorBoolean

True, if connection through UDP reflectors is supported.

Returns:

  • (Boolean)

    the current value of udp_reflector



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

def udp_reflector
  @udp_reflector
end