help.promoData

A set of useful suggestions and a PSA/MTProxy sponsored peer, see here » for more info.

Constructor schema is available as of layer 203. Switch »

Parameters

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

Type

help.PromoData

Related pages

help.getPromoData

Returns a set of useful suggestions and PSA/MTProxy sponsored peers, see here » for more info.

Client configuration

The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.