Actions13
- Message Actions
- Forum Topic Actions
Forum Topic → Edit Forum Topic
AI-generatedSummary
Edit an existing forum topic in a Telegram chat by updating its name and optionally modifying its icon's custom emoji ID.
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 edit.
- Topic Name (required) — New name for the forum topic, between 1-128 characters.
- Icon Custom Emoji ID — Custom emoji identifier to set as the topic icon.
Output shape
a single JSON object representing the Telegram API response for the edited forum topic.
The response includes details of the updated forum topic as returned by Telegram. Errors are returned as a JSON object with an error message. The operation requires valid Telegram Extended API credentials.