Brief information about story views/interactions

Constructors

Properties

_peers: PeersIndex

Accessors

  • get forwardsCount(): null | number
  • Number of forwards (if available)

    Returns null | number

  • get hasViewers(): boolean
  • Whether information about viewers is available.

    When true, you can use TelegarmClient.getStoryViewers to get the full list of viewers, and also recentViewers will be available.

    Returns boolean

  • get reactions(): ReactionCount[]
  • Reactions on the message, along with their counts

    Returns ReactionCount[]

  • get reactionsCount(): number
  • Total number of reactions

    Returns number

  • get recentViewers(): User[]
  • List of users who have recently viewed this story.

    Returns User[]

  • get viewsCount(): number
  • Number of views

    Returns number