@cpod/sdk - v0.2.7
    Preparing search index...

    Function getChat

    • Get a chat by ID

      Parameters

      • chatId: string

        The unique identifier of the chat

      Returns Promise<ManagedChat>

      The managed chat object

      401 - Not authenticated

      404 - Chat not found

      import { getChat } from "@cpod/sdk";

      const chat = await getChat("chat-123");
      console.log(`Chat: ${chat.title}`);