help.PromoData#
- class pyrogram.raw.types.help.PromoData#
A set of useful suggestions and a PSA/MTProxy sponsored peer, see here for more info.
Constructor of
PromoData.- Details:
Layer:
220ID:
8A4D87A
- Parameters:
expires (
int32-bit) – Unixtime when to re-invoke help.getPromoData.pending_suggestions (List of
str) – Contains a list of pending suggestions ».dismissed_suggestions (List of
str) – Contains a list of inverted suggestions ».chats (List of
Chat) – Chat infousers (List of
User) – User infoproxy (
bool, optional) – 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.peer (
Peer, optional) – MTProxy/PSA peerpsa_type (
str, optional) – For Public Service Announcement peers, indicates the type of the PSA.psa_message (
str, optional) – For Public Service Announcement peers, contains the PSA itself.custom_pending_suggestion (
PendingSuggestion, optional) – Contains a list of custom pending suggestions ».
- Functions:
This object can be returned by 1 function.
Returns a set of useful suggestions and PSA/MTProxy sponsored peers, see here for more info.