Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatManager

Hierarchy

Implements

  • ChatManagerInterface

Constructors

constructor

Properties

Readonly cache

cache: Collection<string, Chat>

Readonly client

client: Client

Readonly holds

holds: typeof Chat

Methods

_remove

  • _remove(data: Chat): boolean
  • Parameters

    Returns boolean

_upsert

fetch

  • Returns Promise<Collection<string, Chat>>

  • Parameters

    • id: string

    Returns Promise<Chat>

  • Parameters

    • ids: string[]

    Returns Promise<Collection<string, null | Chat>>

fetchChats

  • Parameters

    • Optional options: object
      • Optional page?: number
      • Optional per_page?: number

    Returns Promise<Collection<string, Chat>>

resolve

  • resolve(data: unknown): null | Chat
  • Parameters

    • data: unknown

    Returns null | Chat

resolveId

  • resolveId(data: unknown): null | string
  • Parameters

    • data: unknown

    Returns null | string

Generated using TypeDoc