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.

Layer 223

help.premiumPromo#5334759c status_text:string status_entities:Vector<MessageEntity> video_sections:Vector<string> videos:Vector<Document> period_options:Vector<PremiumSubscriptionOption> users:Vector<User> = help.PremiumPromo;

Parameters #

NameTypeDescription
status_textstringDescription of the current state of the user's Telegram Premium subscription
status_entitiesVector<MessageEntity>Message entities for styled text
video_sectionsVector<string>A list of premium feature identifiers », associated to each video
videosVector<Document>A list of videos
period_optionsVector<PremiumSubscriptionOption>Telegram Premium subscription options
usersVector<User>Related user information

Type #

help.PremiumPromo

Styled text with message entities #

How to create styled text with message entities

Telegram Premium #

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.