Raw.MessageMediaStory

Raw.MessageMediaStory

Represents a forwarded story or a story mention.

messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia;
export namespace Raw {
  export class MessageMediaStory {
    constructor(params: {
      viaMention?: boolean;
      peer: Raw.TypePeer;
      id: number;
      story?: Raw.TypeStoryItem;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x68cb6283

Property

  • viaMention : boolean or undefined

    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 : Raw.TypePeer

    Peer that posted the story.

  • id : number

    Story id

  • story : Raw.TypeStoryItem or undefined

    The story itself, if absent fetch it using stories.getstoriesbyid and the peer/id parameters specified above.