MadelineProtoDocs/old_docs/API_docs_v91/constructors/help_proxyDataPromo.md
2019-12-27 17:48:04 +01:00

1.1 KiB

title description image
help.proxyDataPromo Promotion channel associated to a certain MTProxy https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: help.proxyDataPromo

Back to constructors index

Promotion channel associated to a certain MTProxy

Attributes:

Name Type Required Description
expires int Yes Expiration date of proxy info, will have to be refetched in expires seconds
peer Peer Yes The promoted channel
chats Array of Chat Yes Chats
users Array of User Yes Users

Type: help_ProxyData

Example:

$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]];

Or, if you're into Lua:

help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}}