Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation 'Unstar Message' interacts with the WARest WhatsApp REST API to remove the star mark from a specific message in a WhatsApp chat. It requires specifying the session, the recipient chat, and the message ID to unstar. This operation is useful for managing message highlights or bookmarks within WhatsApp conversations, allowing users to programmatically unstar messages that were previously starred.
Use Case Examples
- Unstar a message in a specific chat by providing the session ID, recipient chat ID, and message ID.
- Automate the removal of starred messages in bulk by iterating over message IDs and calling this operation.
Properties
| Name | Meaning |
|---|---|
| Session | Identifier of the WhatsApp session to use for the operation, selected from existing sessions or entered manually. |
| Recipient / Chat (to) | Phone number or JID of the chat where the message to unstar is located. |
| Message ID | Unique identifier of the message to be unstarred within the chat. |
Output
JSON
json- Response object from the WARest API indicating the result of the unstar message operation
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API with access to the specified session.
Troubleshooting
- Ensure the session ID is valid and active; invalid or expired sessions will cause errors.
- Verify the recipient chat ID and message ID are correct and correspond to existing messages in the session.
- Check API credentials and network connectivity to the WARest API server.
- Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors returned from the WARest server indicating issues like unauthorized access or invalid parameters.
