Class: TD::Types::CallConnection

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

Overview

Describes the address of UDP reflectors.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idInteger

Reflector identifier.

Returns:

  • (Integer)

    the current value of id



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

def id
  @id
end

#ipString

IPv4 reflector address.

Returns:

  • (String)

    the current value of ip



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

def ip
  @ip
end

#ipv6String

IPv6 reflector address.

Returns:

  • (String)

    the current value of ipv6



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

def ipv6
  @ipv6
end

#peer_tagString

Connection peer tag.

Returns:

  • (String)

    the current value of peer_tag



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

def peer_tag
  @peer_tag
end

#portInteger

Reflector port number.

Returns:

  • (Integer)

    the current value of port



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

def port
  @port
end