MadelineProtoDocs/docs/API_docs/constructors/help_proxyDataPromo.md

1.0 KiB

title description image
help.proxyDataPromo help_proxyDataPromo attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: help.proxyDataPromo

Back to constructors index

Attributes:

Name Type Required
expires int Yes
peer Peer Yes
chats Array of Chat Yes
users Array of User Yes

Type: help_ProxyData

Example:

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

PWRTelegram json-encoded version:

{"_": "help.proxyDataPromo", "expires": int, "peer": Peer, "chats": [Chat], "users": [User]}

Or, if you're into Lua:

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