Inherits Function.
Returns an HTTPS link, which can be used to add a proxy. Available only for SOCKS5 and MTProto proxies. Can be called before authorization.
Returns object_ptr<HttpUrl>.
Public Fields | |
int32 | proxy_id_ |
Proxy identifier. | |
Public Types | |
using | ReturnType = object_ptr< httpUrl > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
getProxyLink () | |
getProxyLink (int32 proxy_id_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1054495112 |
Identifier uniquely determining a type of the object. | |
getProxyLink | ( | ) |
Default constructor for a function, which returns an HTTPS link, which can be used to add a proxy. Available only for SOCKS5 and MTProto proxies. Can be called before authorization.
Returns object_ptr<HttpUrl>.
|
explicit |
Creates a function, which returns an HTTPS link, which can be used to add a proxy. Available only for SOCKS5 and MTProto proxies. Can be called before authorization.
Returns object_ptr<HttpUrl>.
[in] | proxy_id_ | Proxy identifier. |
|
finalvirtual |