Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node operation deletes a specific message from a chat session. It is useful in scenarios where you need to programmatically remove messages from a chat, such as moderating content, correcting mistakes, or managing chat history. For example, an automated workflow could delete inappropriate messages or clear chat logs after a certain period.
Use Case Examples
- Deleting a message by specifying the session, chat ID, and message ID to remove unwanted content.
- Automating chat cleanup by deleting messages based on certain triggers or conditions.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the chat session from which the message will be deleted. |
| Chat Id | The unique identifier of the chat containing the message to be deleted. |
| Message Id | The unique identifier of the message to be deleted. |
| Request Options | Additional options to control the request behavior, such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
success- Indicates whether the message deletion was successful.messageId- The ID of the message that was deleted.chatId- The ID of the chat from which the message was deleted.
Dependencies
- Requires an API key or authentication token to access the chat service.
Troubleshooting
- Ensure the session, chat ID, and message ID are correct and exist; otherwise, the deletion will fail.
- If SSL certificate validation is disabled, be cautious of security risks when ignoring SSL issues.
- Timeout errors may occur if the server is slow or unresponsive; increase the timeout setting if needed.
- Proxy settings must be correctly configured if used, or requests may fail.