# Hermoso: edit_telegram_message · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/edit_telegram_message/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / edit_telegram_message

# `edit_telegram_message`

Edit a Telegram post destructive

Area: YOUTUBE CHANNEL SECTIONS + PLAYLIST IMAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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.

`chatId` required `string` the channel’s @username or numeric chat id

`messageId` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [x_account](https://hermoso.ai/docs/reference/publish/x_account/) Read the connected X account
- [pin_telegram_message](https://hermoso.ai/docs/reference/publish/pin_telegram_message/) Pin or unpin a Telegram message
- [x_user](https://hermoso.ai/docs/reference/publish/x_user/) Look up any public X account
- [set_telegram_commands](https://hermoso.ai/docs/reference/publish/set_telegram_commands/) Read or set the Telegram command menu
- [manage_x_chat](https://hermoso.ai/docs/reference/publish/manage_x_chat/) Manage an X Chat conversation
- [create_telegram_invite_link](https://hermoso.ai/docs/reference/publish/create_telegram_invite_link/) Create a trackable Telegram invite link
- [list_x_chats](https://hermoso.ai/docs/reference/publish/list_x_chats/) List X Chat conversations
- [create_linkedin_event](https://hermoso.ai/docs/reference/publish/create_linkedin_event/) Create a LinkedIn event
- [update_x_chat_settings](https://hermoso.ai/docs/reference/publish/update_x_chat_settings/) Change the X Chat privacy settings
- [update_linkedin_event](https://hermoso.ai/docs/reference/publish/update_linkedin_event/) Edit a LinkedIn event

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
