@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface TranscriptMessageSource

    Minimal slice of IStore needed by transcriptFromStore.

    interface TranscriptMessageSource {
        getMessagesByChat(
            chatId: string,
            limit?: number,
        ): Promise<StoredMessage[]>;
        getChat?(chatId: string): Promise<{ kind?: string } | undefined>;
    }
    Index
    • Used to detect group chats when isGroup is not given.

      Parameters

      • chatId: string

      Returns Promise<{ kind?: string } | undefined>