Actions11
Chat → Leave Chat
AI-generatedSummary
Leave a chat by removing the bot's membership from the specified chat.
Inputs
- Chat ID (required) — The numeric identifier of the chat the bot will leave.
Output shape
a single JSON object
Returns a success confirmation object or throws an error if leaving the chat fails.
Examples
Example 1: Leave chat with ID 12345
Provide Chat ID as '12345' to remove the bot from that chat.