Layer 224
MessageMediaStory
Represents a forwarded story or a story mention.
constructor
messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia;
Parameters
| Name | Type | Description |
|---|---|---|
| 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
MessageMediaGogram Example
// Creating MessageMediaStory constructor obj := &tg.MessageMediaStory{ Peer: &tg.Peer{}, Id: 42, // Optional fields: // ViaMention: true, // Story: &tg.StoryItem{}, }