set_telegram_commands
Read or set the Telegram command menu destructive
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[].commandrequired | string | |
commands[].descriptionrequired | 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.
Related tools
pin_telegram_messagePin or unpin a Telegram messagecreate_telegram_invite_linkCreate a trackable Telegram invite linkedit_telegram_messageEdit a Telegram postcreate_linkedin_eventCreate a LinkedIn eventx_accountRead the connected X accountupdate_linkedin_eventEdit a LinkedIn eventx_userLook up any public X accountlist_linkedin_eventsList a LinkedIn Page’s eventsmanage_x_chatManage an X Chat conversationsearch_linkedin_ad_librarySearch LinkedIn’s official Ad Library