function getAllGroupNames
getAllGroupNames(): Promise<Map<number, string>>

Narrow id → name map for every group (selects + decrypts only the name), for pickers/labels that must not load the whole groups cache.

Return Type

Promise<Map<number, string>>

Usage

import { getAllGroupNames } from "docs/database.ts";