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
Message → Delete Message
AI-generatedOverview
This node operation deletes a specific message in a chat or group chat using the Go WhatsApp Web MultiDevice API. It is useful for managing message content by removing unwanted or outdated messages from conversations. For example, a user can delete a mistakenly sent message or clear chat history selectively.
Use Case Examples
- Deleting a message by specifying the phone number or group ID and the message ID to remove it from the conversation.
- Using an optional device ID override to target a specific device for message deletion.
Properties
| Name | Meaning |
|---|---|
| Device ID | Optional device ID override. If set, it takes priority over the credential device ID. |
| Phone Number or Group ID | Phone number (for private chat) or Group ID (for group chat) to identify the chat where the message exists. |
| Message ID | ID of the message to delete. |
Output
JSON
json- The response from the API after attempting to delete the message, typically indicating success or failure status.
Dependencies
- Requires an API key credential for the Go WhatsApp Web MultiDevice API, including host URL and authentication details.
Troubleshooting
- Common issues include invalid or missing message ID, phone number, or group ID, which will cause the deletion to fail.
- Errors may occur if the device ID override is incorrect or not authorized.
- API connectivity issues or invalid credentials can prevent successful message deletion.