Link Search Menu Expand Document

Constructor: help.promoData

Back to constructors index

MTProxy/Public Service Announcement information

Attributes:

NameTypeRequiredDescription
proxyBoolOptionalMTProxy-related channel
expiresintYesExpiry of PSA/MTProxy info
peerlongYesMTProxy/PSA peer
chatsArray of ChatYesChat info
usersArray of UserYesUser info
psa_typestringOptionalPSA type
psa_messagestringOptionalPSA message

Type: help.PromoData

Example:

$help_promoData = ['_' => 'help.promoData', 'proxy' => Bool, 'expires' => int, 'peer' => long, 'chats' => [Chat, Chat], 'users' => [User, User], 'psa_type' => 'string', 'psa_message' => 'string'];