MadelineProtoDocs/docs/API_docs/constructors/messageMediaStory.md
2024-05-01 14:53:46 +02:00

1.3 KiB

title description nav_exclude image
messageMediaStory Represents a forwarded story or a story mention. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageMediaStory

Back to constructors index

Represents a forwarded story or a story mention.

Attributes:

Name Type Required Description
via_mention Bool Optional 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 long Yes Peer that posted the story.
id int Yes Story ID
story StoryItem Optional The story itself, if absent fetch it using stories.getStoriesByID and the peer/id parameters specified above.

Type: MessageMedia

Example:

$messageMediaStory = ['_' => 'messageMediaStory', 'via_mention' => Bool, 'peer' => long, 'id' => int, 'story' => StoryItem];