# getMyCommands

Source: https://core.telegram.org/bots/api#getmycommands

[Documentation index](../llms.txt)

Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of [BotCommand](botcommand.md) objects. If commands aren't set, an empty list is returned.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| scope | [BotCommandScope](botcommandscope.md) | Optional | A JSON-serialized object, describing scope of users. Defaults to [BotCommandScopeDefault](botcommandscopedefault.md). |
| language\_code | String | Optional | A two-letter ISO 639-1 language code or an empty string |
