Constructor: help.promoData
MTProxy/Public Service Announcement information
Attributes:
Name | Type | Required | Description |
---|---|---|---|
proxy | Bool | Optional | MTProxy-related channel |
expires | int | Yes | Expiry of PSA/MTProxy info |
peer | long | Optional | MTProxy/PSA peer |
psa_type | string | Optional | PSA type |
psa_message | string | Optional | PSA message |
pending_suggestions | Array of string | Yes | |
dismissed_suggestions | Array of string | Yes | |
custom_pending_suggestion | PendingSuggestion | Optional | |
chats | Array of Chat | Yes | Chat info |
users | Array of User | Yes | User info |
Type: help.PromoData
Example:
$help_promoData = ['_' => 'help.promoData', 'proxy' => Bool, 'expires' => int, 'peer' => long, 'psa_type' => 'string', 'psa_message' => 'string', 'pending_suggestions' => ['string', 'string'], 'dismissed_suggestions' => ['string', 'string'], 'custom_pending_suggestion' => PendingSuggestion, 'chats' => [Chat, Chat], 'users' => [User, User]];