Zalo — Conversations
List recent chats — zalo.list_recent_chats
List the OA's most recent conversations, up to 10 per request.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
offset | integer | yes | Min 0. |
count | integer | yes | Min 1. Max 10. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo returns a list here; the declared object type cannot hold it yet. |
Get conversation — zalo.get_conversation
Get the message history between the OA and one user, up to 10 messages per request.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | Zalo user ID of the OA follower. |
offset | integer | yes | Min 0. |
count | integer | yes | Min 1. Max 10. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo returns a list here; the declared object type cannot hold it yet. |