Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatMessageManager

Hierarchy

Constructors

constructor

Properties

Readonly cache

cache: Collection<string, ChatMessage>

Readonly channel

channel: Chat

Readonly client

client: Client

Readonly holds

holds: typeof ChatMessage

Methods

_remove

_upsert

fetch

Private fetchAll

Private fetchId

  • Parameters

    • id: string

    Returns Promise<ChatMessage>

Private fetchIds

  • Parameters

    • ids: string[]

    Returns Promise<Collection<string, ChatMessage>>

Private fetchIndex

  • Parameters

    • options: MessageRequestParams

    Returns Promise<Collection<string, ChatMessage>>

resolve

resolveId

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

    • data: unknown

    Returns null | string

Generated using TypeDoc