# Hermoso: pin_telegram_message · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/pin_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/) / pin_telegram_message

# `pin_telegram_message`

Pin or unpin a Telegram message

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

Pin a message to the top of a Telegram channel or group, or unpin one. A channel’s pinned message is its most valuable real estate and its de-facto call to action. Pinning is SILENT by default (no member notification) — pass notify:true to ping. To unpin, pass unpin:true; omitting messageId then unpins the most recently pinned message, which is what “unpin” usually means. The bot must be an administrator with pin rights. 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` `number` required to PIN; optional when unpinning

`unpin` `boolean` true to unpin instead of pin

`notify` `boolean` true to notify members; default silent

`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/pin_telegram_message`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pin_telegram_message","arguments":{"chatId":"<string>"}}}`
**CLI**

`hermoso call pin_telegram_message --json '{"chatId":"<string>"}'`

## 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

- [edit_telegram_message](https://hermoso.ai/docs/reference/publish/edit_telegram_message/) Edit a Telegram post
- [set_telegram_commands](https://hermoso.ai/docs/reference/publish/set_telegram_commands/) Read or set the Telegram command menu
- [x_account](https://hermoso.ai/docs/reference/publish/x_account/) Read the connected X account
- [create_telegram_invite_link](https://hermoso.ai/docs/reference/publish/create_telegram_invite_link/) Create a trackable Telegram invite link
- [x_user](https://hermoso.ai/docs/reference/publish/x_user/) Look up any public X account
- [create_linkedin_event](https://hermoso.ai/docs/reference/publish/create_linkedin_event/) Create a LinkedIn event
- [manage_x_chat](https://hermoso.ai/docs/reference/publish/manage_x_chat/) Manage an X Chat conversation
- [update_linkedin_event](https://hermoso.ai/docs/reference/publish/update_linkedin_event/) Edit a LinkedIn event
- [list_x_chats](https://hermoso.ai/docs/reference/publish/list_x_chats/) List X Chat conversations
- [list_linkedin_events](https://hermoso.ai/docs/reference/publish/list_linkedin_events/) List a LinkedIn Page’s events

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