Information about a chatlist

Constructors

Properties

Accessors

Constructors

Properties

peers: PeersIndex

Accessors

  • get chats(): Peer[]
  • List of all chats contained in the chatlist

    Returns Peer[]

  • get emoji(): null | string
  • Emoji representing an icon of the chatlist (may only be available for non-joined chatlists)

    Returns null | string

  • get folderId(): null | number
  • If we joined the chatlist, ID of the folder representing it

    Returns null | number

  • get isJoined(): boolean
  • Whether the current user has already joined this chatlist

    Returns boolean

  • get title(): TextWithEntities
  • Title of the chatlist (only available for non-joined chatlists)

    Returns TextWithEntities