Class SetMyCommandsMethod.
Use this method to change the list of the bot's commands. Returns True on success.
see | |
---|---|
package | Default |
create(array<mixed,\TgBotApi\BotApiBase\Type\BotCommandType> $commands)
array<mixed,\TgBotApi\BotApiBase\Type\BotCommandType>
$commands : array<mixed,\TgBotApi\BotApiBase\Type\BotCommandType>
At most 100 commands can be specified.