hermosodocs

edit_telegram_message

Edit a Telegram post destructive

Area: YOUTUBE CHANNEL SECTIONS + PLAYLIST IMAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
brandstringWHICH 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.
chatIdrequiredstringthe channel’s @username or numeric chat id
messageIdrequirednumberfrom post_to_telegram, or the number at the end of a t.me link
textstringthe new text, for a post with no media
captionstringthe new caption, for a post carrying a photo/video/album
linkPreviewbooleanfalse to suppress the link preview
parseMode"HTML"'HTML' to format the new text with Telegram's HTML tags; omit for plain text
buttonsobject | 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.
accountstringwhich 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.

All 728 Publishing & scheduling tools · tools.json