Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Bot → Close

AI-generated

Summary

Close the current bot instance by calling the Telegram Bot API 'close' method with no additional parameters.

Inputs

None.

Output shape

a single JSON object confirming the closure of the bot instance

This operation does not require any input parameters and returns the API response directly. It is used when you want to programmatically close the bot's instance on the Telegram server.

Examples

Example 1: Close the bot instance to free resources or terminate operation.

Set the resource to 'Bot' and operation to 'Close'. No further inputs are needed.

Links

Discussion