Actions24
- Chat Actions
- Callback Actions
- File Actions
- Message Actions
Overview
This node allows interaction with Telegram's API to perform various chat-related operations, specifically including the ability to leave a group, supergroup, or channel. It is useful for automating Telegram chat management tasks such as leaving chats, retrieving chat information, managing chat members, and sending messages with advanced options. For example, a user can automate leaving a Telegram group after a certain event or condition is met in their workflow.
Use Case Examples
- Automatically leave a Telegram group after a scheduled event.
- Retrieve chat administrators and then leave the chat if certain conditions are met.
- Send a message to a chat and then leave the chat automatically.
Properties
| Name | Meaning |
|---|---|
| Chat ID | Unique identifier for the target chat or username. Required to specify which chat to leave. |
| Reply Keyboard | Adds a custom keyboard with reply options to the chat interface when sending messages. |
| Reply Keyboard Options | Options to customize the behavior of the reply keyboard, such as resizing, one-time display, and selective display to specific users. |
| Reply Keyboard Remove | Options to remove the custom keyboard from the chat interface, including selective removal for specific users. |
Output
JSON
json- The JSON response from the Telegram API for the leave chat operation, indicating success or failure.
Dependencies
- Telegram API with an API key credential
Troubleshooting
- Ensure the Chat ID is correct and the bot has permission to leave the chat.
- If the node throws an error about missing parameters, verify that the Chat ID is provided and valid.
- Check that the Telegram API credentials are correctly configured and have the necessary permissions.
Links
- Telegram Bot API - leaveChat - Official Telegram API documentation for the leaveChat method used to leave a group, supergroup, or channel.