help.PremiumPromo#
- class pyrogram.raw.types.help.PremiumPromo#
Telegram Premium promotion information Note that the video_sections+videos fields are a list of videos, and the corresponding premium feature identifiers. They’re equivalent to a section => video dictionary, with keys from video_section and values from videos. The keys in video_sections correspond to a specific feature identifier, and the associated promotional video should be shown when the associated feature row is clicked.
Constructor of
PremiumPromo.- Details:
Layer:
225ID:
5334759C
- Parameters:
status_text (
str) – Description of the current state of the user’s Telegram Premium subscriptionstatus_entities (List of
MessageEntity) – Message entities for styled textvideo_sections (List of
str) – A list of premium feature identifiers », associated to each videovideos (List of
Document) – A list of videosperiod_options (List of
PremiumSubscriptionOption) – Telegram Premium subscription optionsusers (List of
User) – Related user information
- Functions:
This object can be returned by 1 function.
Get Telegram Premium promotion information