To set up commands in a bot in Telegram, you need a service bot BotFather

Go to Botfather, write /setcommands and select the bot in which you want to change the list of commands

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a8f425e1-d7f8-4a16-98d3-d948b35d278b/Untitled.png

You will be prompted to send a list of commands as command - Description

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9252b9d5-c3c0-4351-a0ff-6dc36f4cf378/Untitled.png

Commands are the most basic way to communicate with a bot. General syntax:

/command [argument1] [argument2]

The command must begin with a forward slash character "/" and cannot be longer than 32 characters. Commands can consist of letters of the Latin alphabet, numbers and underscores. A few examples:

/get_my_language
/set_timer 10min Wazzup!
/set_timezone Kyiv, UA

The get_command action is used to process commands inside Kwizbot, read more about it here Action get_command