MadelineProtoDocs/docs/API_docs/constructors/help.promoData.md
2024-05-01 14:53:46 +02:00

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

Back to constructors index

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'];