Skip to content

Commit d1e0dbd

Browse files
committed
2024.12
1 parent 1944ce8 commit d1e0dbd

File tree

3 files changed

+92
-0
lines changed

3 files changed

+92
-0
lines changed
483 KB
Loading
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
title: "WAHA 2024.12"
3+
description: "WAHA 2024.12 - Chat UI API, Join Group, And More! 🎉"
4+
excerpt: "WAHA 2024.12 - Chat UI API, Join Group, And More! 🎉"
5+
date: 2024-12-30T08:48:45+00:00
6+
draft: false
7+
weight: 50
8+
images: ["WAHA 2024.12.png"]
9+
categories: ["Releases"]
10+
tags: []
11+
contributors: ["devlikeapro"]
12+
pinned: false
13+
homepage: false
14+
slug: waha-2024-12
15+
---
16+
17+
🎉🎉🎉 First of all, **Happy New Year!** We wish you all the best in the New 2025 Year! 🎉🎉🎉
18+
19+
We are thrilled to announce the release of [**WAHA 2024.12**]({{< relref "/docs/overview/changelog#202412" >}})!
20+
21+
## Chat Overview API
22+
We've added [**💬 Chats Overview API**]({{< relref "/docs/how-to/chats#get-chats-overview" >}})
23+
to help you build your custom UI clients!
24+
25+
{{< img src="/images/waha/dashboard/waha-dashboard-chat-ui.png" >}}
26+
27+
Get chats "overview" - the API that almost all
28+
[**Chat UI**]({{< relref "/docs/how-to/dashboard#chat-ui" >}})
29+
client needs!
30+
31+
```
32+
GET /api/{session}/chats/overview?limit=20&offset=0
33+
```
34+
35+
**Response** contains the main info you need to show in the chat list:
36+
1. `id` - chat id
37+
2. `name` - chat name (if any)
38+
3. `picture` - chat picture (if any)
39+
4. `lastMessage` - last message in the chat (if any).
40+
5. `_chat` - the structure depends on engine you're using
41+
42+
## Join Groups API
43+
Now you can
44+
[**👥 Join Group**]({{< relref "/docs/how-to/groups#join-group" >}})
45+
by link
46+
and get
47+
[**👥 Group Info**]({{< relref "/docs/how-to/groups#get-join-info-for-group" >}})
48+
before joining!
49+
50+
If you have invite URL for a group (like `https://chat.whatsapp.com/invitecode`), you can
51+
52+
```bash
53+
POST /api/{session}/groups/join
54+
```
55+
56+
**Body**
57+
```json
58+
{
59+
"code": "invitecode"
60+
}
61+
```
62+
63+
or using full link:
64+
```json
65+
{
66+
"code": "https://chat.whatsapp.com/invitecode"
67+
}
68+
```
69+
70+
**Response**:
71+
```json
72+
{
73+
"id": "123123123@g.us"
74+
}
75+
```
76+
77+
## Profile Picture API improvements
78+
We've added optimizations in
79+
[**💬 Get Chat Picture**]({{< relref "/docs/how-to/chats#get-chat-picture" >}})
80+
and
81+
[**👤 Get Contact Profile Picture**]({{< relref "/docs/how-to/contacts#get-contact-profile-picture" >}})
82+
API!
83+
84+
Before it could give rate-overlimit error, now it's optimized and faster!
85+
86+
## And More!
87+
Check out the full [**WAHA 2024.12 🆕 Changelog**]({{< relref "/docs/overview/changelog#202412" >}}) for more details!
88+
89+

content/en/docs/overview/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ Latest Version:
3131
[![GitHub Release](https://img.shields.io/github/v/release/devlikeapro/waha)](https://github.com/devlikeapro/waha/releases)
3232

3333
## 2024.12
34+
35+
[**Release Notes**]({{< relref "/blog/waha-2024-12" >}})
36+
3437
`2024.12.6`
3538
- Add [**💬 Get chats overview API**]({{< relref "/docs/how-to/chats#get-chats-overview" >}})
3639
- **WEBJS**, **NOWEB**

0 commit comments

Comments
 (0)