Layer 220
constructor
messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
ViaMention 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. get Stories By ID and the peer / id parameters specified above.

Returns

MessageMedia

Gogram Example

// Creating MessageMediaStory constructor
obj := &tg.MessageMediaStory{
    Peer: &tg.Peer{},
    Id: 0,

    // Optional fields:
    // ViaMention: true,
    // Story: &tg.StoryItem{},
}