Skip to main content

messageMediaStory

Represents a forwarded story or a story mention.

type tg.MessageMediaStory struct { /* ... */ }

Implements MessageMedia.

Fields​

NameTypeRequiredDescription
ViaMentionbool—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).
PeerPeerClassyesPeer that posted the story.
IDintyesStory ID
StoryStoryItemClass—The story itself, if absent fetch it using stories.getStoriesByID and the peer/id parameters specified above.

References​