Zalo — Hội thoại
Hội thoại gần đây (List recent chats) — zalo.list_recent_chats
List the OA's most recent conversations, up to 10 per request.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | — |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
offset | Vị trí bắt đầu | integer | có | Min 0. |
count | Số lượng | integer | có | Min 1. Max 10. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Kết quả | object | Zalo returns a list here; the declared object type cannot hold it yet. |
Lấy hội thoại (Get conversation) — zalo.get_conversation
Get the message history between the OA and one user, up to 10 messages per request.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | — |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
user_id | Mã người dùng | string | có | Zalo user ID of the OA follower. |
offset | Vị trí bắt đầu | integer | có | Min 0. |
count | Số lượng | integer | có | Min 1. Max 10. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Kết quả | object | Zalo returns a list here; the declared object type cannot hold it yet. |