MBKChat icon

MBKChat

Desfrute da MbkChat_API

Group → Set Announce

AI-generated

Summary

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

Links

Discussion