messageMediaStory

Represents a forwarded story or a story mention.

Constructor schema is available as of layer 164. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
via_mention flags.1?true If set, indicates that this someone has mentioned us in this story (i.e. by tagging us in the description) or vice versa, we have mentioned the other peer (if the message is outgoing).
peer Peer Peer that posted the story.
id int Story ID
story flags.0?StoryItem The story itself, if absent fetch it using stories.getStoriesByID and the peer/id parameters specified above.

Type

MessageMedia

Related pages

stories.getStoriesByID

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

Stories

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