Information about replies to a message

Constructors

Properties

_peers: PeersIndex

Accessors

  • get count(): number
  • Total number of replies

    Returns number

  • get discussion(): null | number
  • ID of the discussion group for the post

    null if the post is not a channel post

    Returns null | number

  • get hasComments(): boolean
  • Whether this message is a channel post that has a comments thread in the linked discussion group

    Returns boolean

  • get hasUnread(): boolean
  • Whether this reply thread has unread messages

    Returns boolean

  • get lastMessageId(): null | number
  • ID of the last message in the thread (if any)

    Returns null | number

  • get lastReadMessageId(): null | number
  • ID of the last read message in the thread (if any)

    Returns null | number

  • get repliers(): Peer[]
  • Last few commenters to the post (usually 3)

    Returns Peer[]