Information about a "forwarded" story in a message, internally represented as a message media

Constructors

Properties

Accessors

Constructors

Properties

_peers: PeersIndex
type: "story" = ...

Accessors

  • get isMention(): boolean
  • Whether this story was automatically forwarded to you because you were mentioned in it

    Returns boolean

  • get peer(): Peer
  • Peer who has posted this story

    Returns Peer

  • get story(): null | Story
  • Contents of the story. May not be available, in which case the story should be fetched using getStoriesById

    Returns null | Story

  • get storyId(): number
  • ID of the story

    Returns number