Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Chat → Close Chat

AI-generated

Summary

Close a Telegram chat by specifying its chat ID, which ends the chat session in the Telegram client.

Inputs

  • Chat ID (required) — The unique identifier of the chat to be closed.

Output shape

a single JSON object representing the result of the closeChat operation from the Telegram API

The output includes the direct response from Telegram after attempting to close the chat. Errors related to session state or authorization may be thrown if not properly logged in.

Links

Discussion