Skip to main content

JavaScript Chat SDK v4 — LLM docs index (Latest)

Low-level JavaScript/TypeScript chat + calling client. Package @cometchat/chat-sdk-javascript@4. This page is a JavaScript-SDK-v4-only routing index for AI agents — a scoped alternative to the site-wide /docs/llms.txt.

How to use this index

Each link below is already a .md twin (clean Markdown: verbatim code + method signatures, parameters, and listener contracts). Pick the page for the intent, fetch its .md, read the API there.
  • Convention: any docs page URL + .md → raw Markdown.
  • Fallback: if a .md twin 404s, fetch the same URL without .md (HTML). Never read a package .d.ts and never answer APIs from memory.

Hot path — usually no fetch needed

For a plain “add chat” the install, init → login, and the core sendMessage / receive-message listener flow are stable; a well-built agent skill bakes them. Fetch below only for exhaustive parameters, long-tail methods, group/user management, calling, or edge-case listeners.

Getting started / integration

Messaging

Calling

Users

Groups

AI, campaigns & webhooks

Resources

Best practices & troubleshooting

Migration & overviews