Telegram Bot icon

Telegram Bot

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

Actions101

Forum → Close General Forum Topic

AI-generated

Summary

Close the general forum topic in a specified Telegram chat, effectively preventing further messages in that topic.

Inputs

  • Chat ID (required) — Unique identifier for the target chat in which the general forum topic will be closed.

Output shape

a single JSON object reflecting the Telegram API's response to the closeGeneralForumTopic method call.

The response data contains the 'result' from the Telegram API call which indicates success or failure. No pagination applies to this operation.

Examples

Example 1: Close the general forum topic in a Telegram chat with ID 123456789.

Set Resource to 'Forum', Operation to 'Close General Forum Topic', and provide the Chat ID '123456789'.

Links

Discussion