Actions34
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Chat → Close Chat
AI-generatedOverview
This node operation allows closing a chat in Telegram by its chat ID. It is useful for managing chat sessions programmatically, such as ending a chat session when it is no longer needed or to clean up active chats in an automated workflow. For example, a user can automate closing inactive chats or manage chat lifecycle in customer support scenarios.
Use Case Examples
- Automatically close a chat after a support ticket is resolved.
- Close a chat session to free up resources or reset chat state in a bot workflow.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat to be closed. This is required to specify which chat session to close. |
Output
JSON
success- Indicates whether the chat was successfully closed.
Dependencies
- Requires an API key credential for Telegram API access.
Troubleshooting
- Ensure the chat ID is valid and corresponds to an existing chat.
- The node requires a valid logged-in Telegram client session; if the session is closed or unauthorized, re-login is necessary.
- Common errors include session closure or unauthorized access, which require re-authentication as per the provided guide link.
Links
- TelePilot Login Guide - Instructions for logging in and managing Telegram sessions for this node.