A set of useful suggestions and a PSA/MTProxy sponsored peer, see here » for more info.
help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector<Chat> users:Vector<User> psa_type:flags.1?string psa_message:flags.2?string = help.PromoData;
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| proxy | flags.0?true | Set when connecting using an MTProxy that has configured an associated peer (that will be passed in peer, i.e. the channel that sponsored the MTProxy) that should be pinned on top of the chat list. |
| expires | int | Unixtime when to re-invoke help.getPromoData. |
| peer | flags.3?Peer | MTProxy/PSA peer |
| psa_type | flags.1?string | For Public Service Announcement peers, indicates the type of the PSA. |
| psa_message | flags.2?string | For Public Service Announcement peers, contains the PSA itself. |
| pending_suggestions | Vector<string> | Contains a list of pending suggestions ». |
| dismissed_suggestions | Vector<string> | Contains a list of inverted suggestions ». |
| custom_pending_suggestion | flags.4?PendingSuggestion | Contains a list of custom pending suggestions ». |
| chats | Vector<Chat> | Chat info |
| users | Vector<User> | User info |
Returns a set of useful suggestions and PSA/MTProxy sponsored peers, see here » for more info.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.