Actions43
- Session Actions
- Chat Actions
- User Actions
- Group Actions
Group → Set Announce
AI-generatedSummary
Set the group's announce‑only mode to control who can send messages.
Inputs
- groupJid (required) — The JID of the target group (e.g. 123456789@g.us).
- announce (required) — Boolean flag; when true only admins may send messages in the group.
Output shape
an array of JSON objects representing the API response for each input item
Each response may contain success or error information from the MbkChat API.
Examples
Example 1: Enable admin‑only messaging for a group
operation=setAnnounce, groupJid=123456789@g.us, announce=true
Example 2: Disable admin‑only messaging (allow everyone)
operation=setAnnounce, groupJid=987654321@g.us, announce=false
