Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
Group → Set Group Locked Status
AI-generatedOverview
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
- Lock a group to prevent members from sending messages.
- 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
- Go WhatsApp Web MultiDevice API - Official repository and documentation for the Go WhatsApp Web MultiDevice API used by this node.