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:
220ID:
5334759C
- Parameters:
- status_text (
str): Description of the current state of the user’s Telegram Premium subscription
- status_entities (List of
MessageEntity): Message entities for styled text
- video_sections (List of
str): A list of premium feature identifiers », associated to each video
- videos (List of
Document): A list of videos
- period_options (List of
PremiumSubscriptionOption): Telegram Premium subscription options
- users (List of
User): Related user information
- status_text (
- Functions:
This object can be returned by 1 function.
Get Telegram Premium promotion information