MadelineProtoDocs/docs/API_docs/constructors/help.proxyDataEmpty.md
2019-12-27 18:46:25 +01:00

40 lines
1.1 KiB
Markdown

---
title: help.proxyDataEmpty
description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it)
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/help_proxyDataEmpty.html
---
# Constructor: help.proxyDataEmpty
[Back to constructors index](index.md)
No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it)
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds|
### Type: [help.ProxyData](../types/help.ProxyData.md)
### Example:
```php
$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int];
```
Or, if you're into Lua:
```lua
help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int}
```