Layer 227
WebPageAttributeStory
Webpage preview of a Telegram story
constructor
webPageAttributeStory#2e94c3e7 flags:# peer:Peer id:int story:flags.0?StoryItem = WebPageAttribute;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | Peer | Peer that posted the story |
| Id | int | Story ID |
| Story | flags .0? StoryItem | May contain the story, if not the story should be fetched when and if needed using stories. get Stories By ID with the above id and peer. |
Returns
WebPageAttributeGogram Example
// Creating WebPageAttributeStory constructor obj := &tg.WebPageAttributeStory{ Peer: &tg.Peer{}, Id: 42, Story: nil, }