SetMyCommandsRequest

fun SetMyCommandsRequest(commands: List<BotCommand> = emptyList())

Parameters

commands

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.