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

    Function listChats

    • List all chats for the current user

      Parameters

      • Optionaloptions: ListChatsOptions

      Returns Promise<ListChatsResponse>

      Array of managed chat objects

      401 - Not authenticated

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

      const chats = await listChats();
      chats.forEach(chat => {
      console.log(`${chat.title} - ${chat.message_count} messages`);
      });