Constructor: help.promoData

Back to constructors index

MTProxy/Public Service Announcement information


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


$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'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.