MBKChat icon

MBKChat

Desfrute da MbkChat_API

Group → Set Locked

AI-generated

Summary

Set Locked toggles a group's locked mode

Inputs

  • groupJid (required) — JID of the group to modify
  • locked (required) — Enable locked mode (only admins can modify settings)

Output shape

JSON object confirming the lock state change

The response body contains the server's acknowledgment and may include the updated locked status.

Examples

Example 1: Lock a group to restrict modifications

groupJid: '120363417042313103@g.us', locked: true

Example 2: Unlock a group to allow all participants to edit

groupJid: '120363417042313103@g.us', locked: false

Links

Discussion