Skip to main content

help.promoData

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

type tg.HelpPromoData struct { /* ... */ }

Implements help.PromoData.

Fields​

NameTypeRequiredDescription
Proxybool—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.
ExpiresintyesUnixtime when to re-invoke help.getPromoData.
PeerPeerClass—MTProxy/PSA peer
PsaTypestring—For Public Service Announcement peers, indicates the type of the PSA.
PsaMessagestring—For Public Service Announcement peers, contains the PSA itself.
PendingSuggestions[]stringyesContains a list of pending suggestions ».
DismissedSuggestions[]stringyesContains a list of inverted suggestions ».
CustomPendingSuggestionPendingSuggestion—Contains a list of custom pending suggestions ».
Chats[]ChatClassyesChat info
Users[]UserClassyesUser info

References​