telegram api constructor · layer 229 · #08a4d87a

help.promoData

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

definition

help.promoData#8a4d87a flags:# proxy:flags.0?true expires:int peer:flags.3?Peer psa_type:flags.1?string psa_message:flags.2?string pending_suggestions:Vector<string> dismissed_suggestions:Vector<string> custom_pending_suggestion:flags.4?PendingSuggestion chats:Vector<Chat> users:Vector<User> = help.PromoData;

parameters

nametypedescription
flags#Flags, see TL conditional fields
proxyflags.0?trueSet 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.
expiresintUnixtime when to re-invoke help.getPromoData.
peerflags.3?PeerMTProxy/PSA peer
psa_typeflags.1?stringFor Public Service Announcement peers, indicates the type of the PSA.
psa_messageflags.2?stringFor Public Service Announcement peers, contains the PSA itself.
pending_suggestionsVector<string>Contains a list of pending suggestions ».
dismissed_suggestionsVector<string>Contains a list of inverted suggestions ».
custom_pending_suggestionflags.4?PendingSuggestionContains a list of custom pending suggestions ».
chatsVector<Chat>Chat info
usersVector<User>User info

type

help.PromoData · other constructors: help.promoDataEmpty

history

present in layers 113–229 · constructor id changed 1×

idlayers
#8c39793f113–202
#08a4d87a203–229