webPageAttributeStory #

Webpage preview of a Telegram story

Layer 223

webPageAttributeStory#2e94c3e7 flags:# peer:Peer id:int story:flags.0?StoryItem = WebPageAttribute;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
peerPeerPeer that posted the story
idintStory ID
storyflags.0?StoryItemMay contain the story, if not the story should be fetched when and if needed using stories.getStoriesByID with the above id and peer.

Type #

WebPageAttribute

Telegram Stories #

Telegram users and channels can easily post and view stories through the API.

stories.getStoriesByID #

Obtain full info about a set of stories by their IDs.