MadelineProtoDocs/docs/API_docs/constructors/inputClientProxy.md

948 B

title description image
inputClientProxy Info about an [MTProxy](https://core.telegram.org/mtproto/mtproto-transports#transport-obfuscation) used to connect. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputClientProxy

Back to constructors index

Info about an MTProxy used to connect.

Attributes:

Name Type Required Description
address string Yes Proxy address
port int Yes Proxy port

Type: InputClientProxy

Example:

$inputClientProxy = ['_' => 'inputClientProxy', 'address' => 'string', 'port' => int];

Or, if you're into Lua:

inputClientProxy={_='inputClientProxy', address='string', port=int}