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