Actions52
- Get Actions
- Message Actions
- Friend Actions
- Group Actions
- Account Actions
- Tool Actions
Group → Add Group Deputy
AI-generatedSummary
Add a specified user as a deputy (group admin) to a Zalo group by providing the group's ID and the user's ID.
Inputs
- Group ID (required) — The unique identifier of the Zalo group where the deputy role will be assigned.
- User ID (required) — The unique identifier of the user to be added as the group deputy.
Output shape
a single response object from the Zalo API confirming the addition of the deputy.
The output reflects the API's confirmation and may include details about the updated group deputies. It does not paginate and returns the operation result for each input item individually.
Examples
Example 1: Add user 123456789 as a deputy to group 987654321.
Set Group ID to '987654321' and User ID to '123456789'.