hermosodocs

set_telegram_commands

Read or set the Telegram command menu destructive

Area: YOUTUBE CHANNEL SECTIONS + PLAYLIST IMAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool 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

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.
action"get" | "set" | "delete"
commandsobject[]
commands[].commandrequiredstring
commands[].descriptionrequiredstring
scope"default" | "all_private_chats" | "all_group_chats" | "all_chat_administrators" | "chat" | "chat_administrators"
chatIdstringfor the chat scopes: the @username or numeric chat id
languageCodestringtwo letters, like en
confirmbooleantrue only once the user agreed
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/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.

All 728 Publishing & scheduling tools · tools.json