Link Search Menu Expand Document

Constructor: messageMediaStory

Back to constructors index

Represents a forwarded story or a story mention.

Attributes:

NameTypeRequiredDescription
via_mentionBoolOptionalIf 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).
peerlongYesPeer that posted the story.
idintYesStory ID
storyStoryItemOptionalThe 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];