Skip to main content

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.

type tg.HelpPremiumPromo struct { /* ... */ }

Fieldsโ€‹

NameTypeRequiredDescription
StatusTextstringyesDescription of the current state of the user's Telegram Premium subscription
StatusEntities[]MessageEntityClassyesMessage entities for styled text
VideoSections[]stringyesA list of premium feature identifiers ยป, associated to each video
Videos[]DocumentClassyesA list of videos
PeriodOptions[]PremiumSubscriptionOptionyesTelegram Premium subscription options
Users[]UserClassyesRelated user information

Returned byโ€‹

Referencesโ€‹