Actions36
- Message Actions
- Chat Actions
- User Actions
- Media Actions
- Channel Actions
Chat → Leave Chat
AI-generatedSummary
Leave a specified Telegram chat such as a channel or group by providing its ID, username, or phone number.
Inputs
- Chat ID / Username (required) — The identifier of the chat to leave; can be a chat ID, @username, or phone number.
Output shape
a single JSON object representing the result of the leave chat operation
The output contains the Telegram API response to the leave chat request. Any errors will cause the node to fail unless 'Continue On Fail' is enabled, in which case error details will appear in the output.
Examples
Example 1: Leave a Telegram channel by username
Set 'Resource' to 'Chat', 'Operation' to 'Leave Chat', and fill 'Chat ID / Username' with the channel's username (e.g., '@examplechannel').