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 schema is available as of layer 145. Switch »
Name | Type | Description |
---|---|---|
status_text | string | Description of the current state of the user's Telegram Premium subscription |
status_entities | Vector<MessageEntity> | Message entities for styled text |
video_sections | Vector<string> | A list of premium feature identifiers », associated to each video |
videos | Vector<Document> | A list of videos |
period_options | Vector<PremiumSubscriptionOption> | Telegram Premium subscription options |
users | Vector<User> | Related user information |
How to create styled text with message entities
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.