Class: TD::Types::ProxyType::Socks5

Inherits:
TD::Types::ProxyType show all
Defined in:
lib/tdlib/types/proxy_type/socks5.rb

Overview

A SOCKS5 proxy server.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#passwordTD::Types::String?

Password for logging in; may be empty.

Returns:

  • (TD::Types::String, nil)

    the current value of password



6
7
8
# File 'lib/tdlib/types/proxy_type/socks5.rb', line 6

def password
  @password
end

#usernameTD::Types::String?

Username for logging in; may be empty.

Returns:

  • (TD::Types::String, nil)

    the current value of username



6
7
8
# File 'lib/tdlib/types/proxy_type/socks5.rb', line 6

def username
  @username
end