Link Search Menu Expand Document

Constructor: webPageAttributeStory

Back to constructors index

Webpage preview of a Telegram story

Attributes:

NameTypeRequiredDescription
peerlongYesPeer that posted the story
idintYesStory ID
storyStoryItemOptionalMay 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

Example:

$webPageAttributeStory = ['_' => 'webPageAttributeStory', 'peer' => long, 'id' => int, 'story' => StoryItem];