MadelineProtoDocs/docs/API_docs/constructors/help.promoData.md
2020-06-16 17:50:25 +02:00

1.3 KiB

title description image redirect_from
help.promoData MTProxy/Public Service Announcement information 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 Peer 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' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User], 'psa_type' => 'string', 'psa_message' => 'string'];

Or, if you're into Lua:

help.promoData={_='help.promoData', proxy=Bool, expires=int, peer=Peer, chats={Chat}, users={User}, psa_type='string', psa_message='string'}