Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GroupMessageManager

Hierarchy

Implements

  • GroupMessageManagerInterface

Constructors

constructor

Properties

Readonly cache

cache: Collection<string, GroupMessage>

Readonly channel

channel: Group

Readonly client

client: Client

Readonly holds

holds: typeof GroupMessage

Methods

_remove

_upsert

fetch

  • Returns Promise<Collection<string, GroupMessage>>

  • Parameters

    • id: string

    Returns Promise<GroupMessage>

  • Parameters

    • ids: string[]

    Returns Promise<Collection<string, GroupMessage>>

  • Parameters

    • options: MessageRequestParams

    Returns Promise<Collection<string, GroupMessage>>

Private fetchAll

Private fetchId

  • Parameters

    • id: string

    Returns Promise<GroupMessage>

Private fetchIds

  • Parameters

    • ids: string[]

    Returns Promise<Collection<string, GroupMessage>>

Private fetchIndex

  • Parameters

    • options: MessageRequestParams

    Returns Promise<Collection<string, GroupMessage>>

resolve

resolveId

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

    • data: unknown

    Returns null | string

Generated using TypeDoc