Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Actions133

Friend → Invite User To Groups

AI-generated

Summary

Send a request to invite a user to one or more groups on Zalo by providing a JSON payload.

Inputs

  • General JSON Payload — A JSON string specifying the payload for the invite operation, allowing customization of the invite details. Refer to the zca-js documentation for the exact structure.

Output shape

a single response object representing the result of the invite user to groups operation from Zalo API.

The response content depends on the Zalo API's response to the invite request. The operation uses the provided JSON payload directly without additional input fields, so all necessary invite parameters must be included in this JSON string.

Examples

Example 1: Invite a user to groups by specifying their user ID and group IDs.

Set 'General JSON Payload' to '{"userId":"123456","groupIds":["abc123","def456"]}' to send the invitation.

Links

Discussion