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โ
| Name | Type | Required | Description |
|---|---|---|---|
StatusText | string | yes | Description of the current state of the user's Telegram Premium subscription |
StatusEntities | []MessageEntityClass | yes | Message entities for styled text |
VideoSections | []string | yes | A list of premium feature identifiers ยป, associated to each video |
Videos | []DocumentClass | yes | A list of videos |
PeriodOptions | []PremiumSubscriptionOption | yes | Telegram Premium subscription options |
Users | []UserClass | yes | Related user information |
Returned byโ
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
help.premiumPromo#5334759c