Inherits td::td_api::ProxyType.
|
string | username_ |
| Username for logging in; may be empty.
|
|
string | password_ |
| Password for logging in; may be empty.
|
|
|
static const std::int32_t | ID = -890027341 |
| Identifier uniquely determining a type of the object.
|
|
◆ proxyTypeSocks5() [1/2]
td::td_api::proxyTypeSocks5::proxyTypeSocks5 |
( |
| ) |
|
◆ proxyTypeSocks5() [2/2]
td::td_api::proxyTypeSocks5::proxyTypeSocks5 |
( |
string const & |
username_, |
|
|
string const & |
password_ |
|
) |
| |
A SOCKS5 proxy server.
- Parameters
-
[in] | username_ | Username for logging in; may be empty. |
[in] | password_ | Password for logging in; may be empty. |
◆ get_id()
std::int32_t td::td_api::proxyTypeSocks5::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::proxyTypeSocks5::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: