help.promoData #

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

Layer 223

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

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.