Class: TD::Types::InternalLinkType::Proxy
- Inherits:
-
TD::Types::InternalLinkType
- Object
- Dry::Struct
- Base
- TD::Types::InternalLinkType
- TD::Types::InternalLinkType::Proxy
- 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
-
#port ⇒ Integer
Proxy server port.
-
#server ⇒ TD::Types::String
Proxy server domain or IP address.
-
#type ⇒ TD::Types::ProxyType
Type of the proxy.
Method Summary
Methods inherited from Base
Instance Attribute Details
#port ⇒ Integer
Proxy server port.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/proxy.rb', line 8 def port @port end |
#server ⇒ TD::Types::String
Proxy server domain or IP address.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/proxy.rb', line 8 def server @server end |
#type ⇒ TD::Types::ProxyType
Type of the proxy.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/proxy.rb', line 8 def type @type end |