2019-08-15 20:25:16 +02:00
|
|
|
---
|
|
|
|
title: inputClientProxy
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Info about an [MTProxy](https://core.telegram.org/mtproto/mtproto-transports#transport-obfuscation) used to connect.
|
2019-08-15 20:25:16 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: inputClientProxy
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Info about an [MTProxy](https://core.telegram.org/mtproto/mtproto-transports#transport-obfuscation) used to connect.
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|address|[string](../types/string.md) | Yes|Proxy address|
|
|
|
|
|port|[int](../types/int.md) | Yes|Proxy port|
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputClientProxy](../types/InputClientProxy.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$inputClientProxy = ['_' => 'inputClientProxy', 'address' => 'string', 'port' => int];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
inputClientProxy={_='inputClientProxy', address='string', port=int}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|