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