View Source ExTDLib.Method.TestProxy (ExTDLib v0.0.4)

Sends a simple network request to the Telegram servers via proxy; for testing only. Can be called before authorization. Returns object_ptr<Ok>.

NameTypeDescription
serverstringProxy server domain or IP address.
portnumberProxy server port.
typeProxyTypeProxy type.
dc_idnumberIdentifier of a datacenter with which to test connection.
timeoutdoubleThe maximum overall timeout for the request.

More details on telegram's documentation.