Class: TD::Types::CallServer

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

Overview

Describes a server for relaying call data.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idInteger

Server identifier.

Returns:

  • (Integer)

    the current value of id



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

def id
  @id
end

#ip_addressTD::Types::String

Server IPv4 address.

Returns:

  • (TD::Types::String)

    the current value of ip_address



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

def ip_address
  @ip_address
end

#ipv6_addressTD::Types::String

Server IPv6 address.

Returns:

  • (TD::Types::String)

    the current value of ipv6_address



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

def ipv6_address
  @ipv6_address
end

#portInteger

Server port number.

Returns:

  • (Integer)

    the current value of port



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

def port
  @port
end

#typeTD::Types::CallServerType

Server type.

Returns:



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

def type
  @type
end