---
title: "POST /setMyCommands"
method: POST
path: "/setMyCommands"
---

# POST /setMyCommands

`POST /setMyCommands`

Use this method to change the list of the bot's commands. Returns *True* on success.

## Request body

- object
  - `commands` BotCommand[], required — A JSON-serialized list of bot commands to be set as the list of the bot's commands. At most 100 commands can be specified.
    - `command` string, required — Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.
    - `description` string, required — Description of the command, 3-256 characters.

## Response `200`

- object
  - `ok` boolean, required
  - `result` boolean, required

## Other responses

- `default`

---

[API](https://skmtc.net/stoplight/apis/telegram-bot-api.md) · [All operations](https://skmtc.net/stoplight/apis/telegram-bot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stoplight/telegram-bot-api/versions/be4bbb34b64a/schema)
