MadelineProtoDocs/old_docs/API_docs_v102/constructors/help_proxyDataEmpty.md

39 lines
1.0 KiB
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02:00
---
title: help.proxyDataEmpty
2019-12-27 17:48:04 +01:00
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)
2019-06-24 15:45:02 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: help.proxyDataEmpty
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
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)
2019-06-24 15:45:02 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds|
2019-06-24 15:45:02 +02:00
### 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}
```