Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2025 CometChat, Inc.
Copyright (c) 2026 CometChat, Inc.

For full legal terms and privacy policy, please visit:
https://www.cometchat.com/legal-privacy-policy
2 changes: 1 addition & 1 deletion ai-agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Because CometChat AI Agents are model-agnostic, you can swap providers or upgrad
<div className="flex flex-col w-full mt-8" style={{ background: 'black' }}>
<div className="bg-black text-gray-400 py-6 px-8 flex flex-col md:flex-row justify-between items-center rounded-t-xl">
<div className="mb-4 md:mb-0">
2025 © CometChat
2026 © CometChat
</div>
<div className="flex space-x-6 items-center">
<a href="https://www.linkedin.com/company/cometchat" target="_blank" className="flex items-center space-x-1 hover:text-white transition-colors">
Expand Down
2 changes: 1 addition & 1 deletion calls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ import { CardGroup, Card, Icon, Badge, Steps, Columns, AccordionGroup, Accordion
<div className="flex flex-col w-full mt-8" style={{ background: 'black' }}>
<div className="bg-black text-gray-400 py-6 px-8 flex flex-col md:flex-row justify-between items-center rounded-t-xl">
<div className="mb-4 md:mb-0">
2025 © CometChat
2026 © CometChat
</div>
<div className="flex space-x-6 items-center">
<a href="https://www.linkedin.com/company/cometchat" target="_blank" className="flex items-center space-x-1 hover:text-white transition-colors">
Expand Down
2 changes: 1 addition & 1 deletion chat-call.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ import { CardGroup, Card, Icon, Badge, Steps, Columns, AccordionGroup, Accordion
<div className="flex flex-col w-full mt-8" style={{ background: 'black' }}>
<div className="bg-black text-gray-400 py-6 px-8 flex flex-col md:flex-row justify-between items-center rounded-t-xl">
<div className="mb-4 md:mb-0">
2025 © CometChat
2026 © CometChat
</div>
<div className="flex space-x-6 items-center">
<a href="https://www.linkedin.com/company/cometchat" target="_blank" className="flex items-center space-x-1 hover:text-white transition-colors">
Expand Down
2 changes: 1 addition & 1 deletion chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ import { CardGroup, Card, Icon, Badge, Steps, Columns, AccordionGroup, Accordion
<div className="flex flex-col w-full mt-8" style={{ background: 'black' }}>
<div className="bg-black text-gray-400 py-6 px-8 flex flex-col md:flex-row justify-between items-center rounded-t-xl">
<div className="mb-4 md:mb-0">
2025 © CometChat
2026 © CometChat
</div>
<div className="flex space-x-6 items-center">
<a href="https://www.linkedin.com/company/cometchat" target="_blank" className="flex items-center space-x-1 hover:text-white transition-colors">
Expand Down
2 changes: 1 addition & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2430,7 +2430,7 @@
]
},
{
"tab": "SDK",
"tab": "SDKs",
"dropdowns": [
{
"dropdown": "JavaScript",
Expand Down
2 changes: 1 addition & 1 deletion home.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ export function openSearch() {

<div className="bg-black text-gray-400 py-6 px-8 flex flex-col md:flex-row justify-between items-center rounded-t-xl">
<div className="mb-4 md:mb-0">
2025 © CometChat
2026 © CometChat
</div>
<div className="flex space-x-6 items-center">
<a href="https://www.linkedin.com/company/cometchat" target="_blank" className="flex items-center space-x-1 hover:text-white">
Expand Down
2 changes: 1 addition & 1 deletion index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export function openSearch() {

<div className="bg-black text-gray-400 py-6 px-8 flex flex-col md:flex-row justify-between items-center rounded-t-xl">
<div className="mb-4 md:mb-0">
2025 © CometChat
2026 © CometChat
</div>
<div className="flex space-x-6 items-center">
<a href="https://www.linkedin.com/company/cometchat" target="_blank" className="flex items-center space-x-1 hover:text-white">
Expand Down
1 change: 1 addition & 0 deletions sdk/flutter/send-message.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ When a text message is sent successfully, the response will include a `TextMessa
To set a quoted message for a message, use the `setQuotedMessageId` and `setQuotedMessage` method of the TextMessage class. This method accepts the ID of the message to be quoted.

<Tabs>

<Tab title="Dart">
```dart
textMessage.quotedMessageId = 0
Expand Down
16 changes: 10 additions & 6 deletions widget/html/integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,16 @@ Add the CometChat Widget by pasting one small HTML snippet. It drops in like any

**Use this when:**

- People sign in to your product through your own backend
- You can create a CometChat auth token on the server after they sign in
- Here is how you can create users:
- API: https://www.cometchat.com/docs/rest-api/users/create
- Here is how can create auth tokens:
- API: https://www.cometchat.com/docs/rest-api/auth-tokens/create
- People sign in through your backend, and you generate their CometChat auth token server-side.

**Server-side flow (auth token login):**
1) Authenticate the user in your app.
2) If it’s their first time, call **Create User** (https://www.cometchat.com/docs/rest-api/users/create) — you can also request an auth token in that call.
3) For returning users, call **Create Auth Token** (https://www.cometchat.com/docs/rest-api/auth-tokens/create) to issue a fresh token.
4) Send the token to the browser and place it in the widget config below.
5) The same token works for the CometChat Widget, UI Kit, or SDK.

Full walkthrough: [How to properly log in and create users in CometChat](https://community.cometchat.com/t/how-to-properly-log-in-and-create-users-in-cometchat/31).

### Copy this into `<head>`

Expand Down
Loading