GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Group → Set Group Locked Status

AI-generated

Overview

This node operation allows users to set the locked status of a WhatsApp group using the Go WhatsApp Web MultiDevice API. It is useful for managing group permissions by locking the group to restrict participant actions or unlocking it to allow more freedom. For example, an admin can lock a group to prevent members from sending messages or unlocking it to resume normal activity.

Use Case Examples

  1. Lock a group to prevent members from sending messages.
  2. Unlock a group to allow members to participate freely.

Properties

Name Meaning
Device ID Optional device ID override that takes priority over the credential device ID if set.
Group ID The unique identifier of the group whose locked status is to be set.
Locked Boolean flag indicating whether to lock (true) or unlock (false) the group.

Output

JSON

  • json - The response from the API indicating the result of the set group locked status operation.

Dependencies

  • Go WhatsApp Web MultiDevice API with appropriate API key credentials

Troubleshooting

  • Ensure the Group ID is valid and the user has admin permissions to change group settings.
  • If the device ID override is used, verify it is correct and authorized.
  • Common errors may include permission denied or invalid group ID, which require checking user roles and group existence.

Links

Discussion