mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
37 lines
1.3 KiB
Markdown
37 lines
1.3 KiB
Markdown
|
---
|
||
|
title: "help.promoData"
|
||
|
description: "MTProxy/Public Service Announcement information"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
redirect_from: /API_docs/constructors/help_promoData.html
|
||
|
---
|
||
|
# Constructor: help.promoData
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
MTProxy/Public Service Announcement information
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|proxy|[Bool](/API_docs/types/Bool.html) | Optional|MTProxy-related channel|
|
||
|
|expires|[int](/API_docs/types/int.html) | Yes|Expiry of PSA/MTProxy info|
|
||
|
|peer|[long](/API_docs/types/long.html) | Yes|MTProxy/PSA peer|
|
||
|
|chats|Array of [Chat](/API_docs/types/Chat.html) | Yes|Chat info|
|
||
|
|users|Array of [User](/API_docs/types/User.html) | Yes|User info|
|
||
|
|psa\_type|[string](/API_docs/types/string.html) | Optional|PSA type|
|
||
|
|psa\_message|[string](/API_docs/types/string.html) | Optional|PSA message|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [help.PromoData](/API_docs/types/help.PromoData.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$help_promoData = ['_' => 'help.promoData', 'proxy' => Bool, 'expires' => int, 'peer' => long, 'chats' => [Chat, Chat], 'users' => [User, User], 'psa_type' => 'string', 'psa_message' => 'string'];
|
||
|
```
|