edit_telegram_message
Edit a Telegram post destructive
Description
Change the TEXT or CAPTION of a message already posted to a Telegram channel, group or chat — the fix for a typo that would otherwise cost the post AND its accumulated views, since deleting and reposting starts from zero. Pass `text` for a plain post or `caption` for one carrying media; Telegram refuses the wrong one and its error names the other. It overwrites the published text, and the previous wording is not kept. Free, 0 credits. Needs Telegram connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done. |
chatIdrequired | string | the channel’s @username or numeric chat id |
messageIdrequired | number | from post_to_telegram, or the number at the end of a t.me link |
text | string | the new text, for a post with no media |
caption | string | the new caption, for a post carrying a photo/video/album |
linkPreview | boolean | false to suppress the link preview |
parseMode | "HTML" | 'HTML' to format the new text with Telegram's HTML tags; omit for plain text |
buttons | object | object[][] | URL buttons under the post. An edit REPLACES the buttons with what it sends, so pass them again to keep them; the reply reads back the buttons Telegram now shows. |
account | string | which connected account: its @handle or id from list_connector_accounts; needed only when several are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/edit_telegram_message.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"edit_telegram_message","arguments":{"chatId":"<string>","messageId":"<number>"}}}
CLI
hermoso call edit_telegram_message --json '{"chatId":"<string>","messageId":"<number>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
x_accountRead the connected X accountpin_telegram_messagePin or unpin a Telegram messagex_userLook up any public X accountset_telegram_commandsRead or set the Telegram command menumanage_x_chatManage an X Chat conversationcreate_telegram_invite_linkCreate a trackable Telegram invite linklist_x_chatsList X Chat conversationscreate_linkedin_eventCreate a LinkedIn eventupdate_x_chat_settingsChange the X Chat privacy settingsupdate_linkedin_eventEdit a LinkedIn event