# Hermoso: set_telegram_commands · Hermoso developer docs

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

# `set_telegram_commands`

Read or set the Telegram command menu 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

Read or change the Telegram bot's command menu (the / list every user of the bot sees). action get (default) shows it; set replaces it with commands [{command, description}] (1 to 32 lowercase letters, digits or _; description 1 to 256; at most 100); delete clears it. scope: default, all_private_chats, all_group_chats, all_chat_administrators, or chat / chat_administrators with chatId; languageCode for one language. set and delete are CONFIRM-GATED: the first call shows the menu now and after and changes nothing; call again with confirm:true once the user agrees. Read back from Telegram. Free.

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

`action` `"get" | "set" | "delete"`

`commands` `object[]`

`commands[].command` required `string`

`commands[].description` required `string`

`scope` `"default" | "all_private_chats" | "all_group_chats" | "all_chat_administrators" | "chat" | "chat_administrators"`

`chatId` `string` for the chat scopes: the @username or numeric chat id

`languageCode` `string` two letters, like en

`confirm` `boolean` true only once the user agreed

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

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

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_telegram_commands","arguments":{}}}`
**CLI**

`hermoso call set_telegram_commands --json '{}'`

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

- [pin_telegram_message](https://hermoso.ai/docs/reference/publish/pin_telegram_message/) Pin or unpin a Telegram message
- [create_telegram_invite_link](https://hermoso.ai/docs/reference/publish/create_telegram_invite_link/) Create a trackable Telegram invite link
- [edit_telegram_message](https://hermoso.ai/docs/reference/publish/edit_telegram_message/) Edit a Telegram post
- [create_linkedin_event](https://hermoso.ai/docs/reference/publish/create_linkedin_event/) Create a LinkedIn event
- [x_account](https://hermoso.ai/docs/reference/publish/x_account/) Read the connected X account
- [update_linkedin_event](https://hermoso.ai/docs/reference/publish/update_linkedin_event/) Edit a LinkedIn event
- [x_user](https://hermoso.ai/docs/reference/publish/x_user/) Look up any public X account
- [list_linkedin_events](https://hermoso.ai/docs/reference/publish/list_linkedin_events/) List a LinkedIn Page’s events
- [manage_x_chat](https://hermoso.ai/docs/reference/publish/manage_x_chat/) Manage an X Chat conversation
- [search_linkedin_ad_library](https://hermoso.ai/docs/reference/publish/search_linkedin_ad_library/) Search LinkedIn’s official Ad Library

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