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
ProxyboolSet 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.
PeerPeerClassMTProxy/PSA peer
PsaTypestringFor Public Service Announcement peers, indicates the type of the PSA.
PsaMessagestringFor Public Service Announcement peers, contains the PSA itself.
PendingSuggestions[]stringyesContains a list of pending suggestions ».
DismissedSuggestions[]stringyesContains a list of inverted suggestions ».
CustomPendingSuggestionPendingSuggestionContains a list of custom pending suggestions ».
Chats[]ChatClassyesChat info
Users[]UserClassyesUser info

References