webPageAttributeStory
Webpage preview of a Telegram story
type tg.WebPageAttributeStory struct { /* ... */ }
Implements WebPageAttribute.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Peer | PeerClass | yes | Peer that posted the story |
ID | int | yes | Story ID |
Story | StoryItemClass | — | May contain the story, if not the story should be fetched when and if needed using stories.getStoriesByID with the above id and peer. |
References
- Official documentation
- Generated Go reference
- TL definition:
webPageAttributeStory#2e94c3e7