MadelineProtoDocs/old_docs/API_docs_v86/constructors/help_proxyDataPromo.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
help.proxyDataPromo Proxy data promo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: help.proxyDataPromo

Back to constructors index

Proxy data promo

Attributes:

Name Type Required Description
expires int Yes Expires
peer Peer Yes Peer
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]];

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