Actions64
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Chat → Delete Message
AI-generatedOverview
This node operation deletes a specific message in a chat instance. It is useful for scenarios where you need to remove a message from a conversation, such as retracting sent messages or cleaning up chat history.
Use Case Examples
- Deleting a mistakenly sent message in a customer support chat.
- Removing sensitive information shared in a chat by mistake.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the chat instance where the message exists. |
| Contact | The contact number associated with the chat where the message is to be deleted. |
| Message ID | The unique identifier of the message to be deleted. |
| Message Is From Me | Indicates if the message was sent by the instance itself. |
| Participant Number | The number of the participant who sent the message, required if the message is not from the instance. |
Output
JSON
success- Indicates if the message deletion was successful.messageId- The ID of the deleted message.
Dependencies
- Requires an API key credential for authentication to interact with the chat instance.
Troubleshooting
- Ensure the message ID is correct and exists in the specified chat instance.
- Verify that the instance name and contact number are accurate and correspond to an active chat session.
- If the message is not from the instance, the participant number must be provided correctly.
- Common errors include unsupported operations if the resource or operation names are incorrect, or authentication failures if the API key is invalid or missing.