This endpoint sends aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/OPENNOVA2026/telegram-connector/llms.txt
Use this file to discover all available pages before exploring further.
LeaveChannelRequest via Telethon to remove the authenticated account from the specified channel. The operation is fire-and-forget — no channel data is returned on success.
Endpoint
Authentication
Requires an active Telethon session on the server.Query Parameters
The username of the Telegram channel to leave, without the leading
@ (e.g. durov, telegram).Request Body
None.Response
No response body is returned on success.Status Codes
| Status | Description |
|---|---|
204 No Content | The authenticated account successfully left the channel. |
Example
No confirmation body is returned — a
204 No Content response is the sole indicator that the
operation completed successfully. If the provided channel username does not exist or is otherwise
unresolvable, Telethon may raise an error internally. The current implementation does not
explicitly catch errors from LeaveChannelRequest, so unexpected failures may surface as
unhandled 500 responses.