Actions10
Group → Thêm Phó Nhóm
AI-generatedSummary
Add a deputy (vice) member to a specified Zalo group by providing the group's ID and the user's ID to be promoted.
Inputs
- ID Nhóm (required) — The ID of the group to which the deputy will be added.
- ID Người Dùng (required) — The ID of the user to be added as deputy to the group.
Output shape
a single JSON object per input item containing the API response and a status message.
Returns a JSON response confirming success with a "Thành công" status and the raw API response. Processes multiple items individually, pairing each output with its input item index. Throws an error if the API instance is invalid or request fails unless continueOnFail is enabled.
Examples
Example 1: Add deputy to group
Provide 'groupId' and 'userId' parameters for the target group and user respectively.