Class: TD::Types::InternalLinkType::Proxy

Inherits:
TD::Types::InternalLinkType show all
Defined in:
lib/tdlib/types/internal_link_type/proxy.rb

Overview

The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#portInteger

Proxy server port.

Returns:

  • (Integer)

    the current value of port



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

def port
  @port
end

#serverTD::Types::String

Proxy server domain or IP address.

Returns:

  • (TD::Types::String)

    the current value of server



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

def server
  @server
end

#typeTD::Types::ProxyType

Type of the proxy.

Returns:



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

def type
  @type
end