Telegram Extended icon

Telegram Extended

Extended Telegram operations including message forwarding and forum topic management

Forum Topic → Close Forum Topic

AI-generated

Summary

Close a specific forum topic in a Telegram chat by specifying the chat and the message thread ID corresponding to the topic.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username of the target channel (in the format @channelusername).
  • Message Thread ID (required) — Unique identifier for the target message thread of the forum topic to close.
  • Additional Fields — Optional parameters to set the icon of the forum topic when closing it, including custom emoji ID and icon color in RGB format.

Output shape

a single response object containing the Telegram API response for the close forum topic request

The output JSON reflects the Telegram API response to the close operation; errors are thrown unless continueOnFail is enabled, in which case an error message is returned per item.

Examples

Example 1: Close a forum topic

Set Chat ID to the target chat, set Message Thread ID to the forum topic's thread ID, optionally define icon color or custom emoji before closing.

Discussion