channels_update_profile
🪪 Update a connected channel's bot profile: display name, long description (the "What can this bot do?" card), short description, the / command menu, and the persistent menu button next to the input field.
Every field is optional — pass only what you want to change; any field you omit is left exactly as it is.
menu_button with type="web_app" is what puts a persistent button next to the input field that opens a Mini App page bound to this bot (pass the page's https URL as menu_button.url).
Two things this tool CANNOT set, because the Bot API does not expose them — both stay BotFather-only: the bot's AVATAR, and registering a NAMED Mini App (t.me/bot/appname). menu_button.web_app and any web_app message button work off a direct URL and need no such registration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Bot display name (<= 64 characters). OMIT to leave unchanged. | |
| commands | No | The `/` command menu: a list of {command, description} objects (command: lowercase letters/digits/underscores, <= 32 chars; description: <= 256 chars; <= 100 commands total). OMIT to leave unchanged. | |
| description | No | Long description shown on the "What can this bot do?" card before Start (<= 512 characters). OMIT to leave unchanged. | |
| menu_button | No | The persistent button next to the input field: {type: "commands"|"default"|"web_app", text?, url?}. "commands" shows the `/` menu, "default" removes the custom button, and "web_app" opens a Mini App at `url` (must be https://) with the button labelled `text`. OMIT to leave unchanged. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| language_code | No | IETF language code (e.g. 'en') to set a localized variant of the text fields instead of the default. OMIT for the default variant every user without a matching locale sees. | |
| short_description | No | Short description shown on the profile page (<= 120 characters). OMIT to leave unchanged. | |
| channel_account_id | Yes | The channel account to update, from channels list. |