Bot API method
setMyCommands
3 parameters. Required ones are marked.
Parameters
ParameterTypeRequired
commandsArray of BotCommandyes
scopeBotCommandScopeno
language_codeStringno
Related methods
Computed from shared parameters — the source has no such view.
The method description lives with Telegram: source · full reference