Class: TD::Types::Proxy
- Defined in:
- lib/tdlib/types/proxy.rb
Overview
Contains information about a proxy server.
Instance Attribute Summary collapse
-
#id ⇒ Integer
Unique identifier of the proxy.
-
#is_enabled ⇒ Boolean
True, if the proxy is enabled now.
-
#last_used_date ⇒ Integer
Point in time (Unix timestamp) when the proxy was last used; 0 if never.
-
#port ⇒ Integer
Proxy server port.
-
#server ⇒ TD::Types::String
Proxy server IP address.
-
#type ⇒ TD::Types::ProxyType
Type of the proxy.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ Integer
Unique identifier of the proxy.
10 11 12 |
# File 'lib/tdlib/types/proxy.rb', line 10 def id @id end |
#is_enabled ⇒ Boolean
True, if the proxy is enabled now.
10 11 12 |
# File 'lib/tdlib/types/proxy.rb', line 10 def is_enabled @is_enabled end |
#last_used_date ⇒ Integer
Point in time (Unix timestamp) when the proxy was last used; 0 if never.
10 11 12 |
# File 'lib/tdlib/types/proxy.rb', line 10 def last_used_date @last_used_date end |
#port ⇒ Integer
Proxy server port.
10 11 12 |
# File 'lib/tdlib/types/proxy.rb', line 10 def port @port end |
#server ⇒ TD::Types::String
Proxy server IP address.
10 11 12 |
# File 'lib/tdlib/types/proxy.rb', line 10 def server @server end |
#type ⇒ TD::Types::ProxyType
Type of the proxy.
10 11 12 |
# File 'lib/tdlib/types/proxy.rb', line 10 def type @type end |