bots.setBotCommands

Set bot command list

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;

Parameters

Name Type Description
scope BotCommandScope Command scope
lang_code string Language code
commands Vector<BotCommand> Bot commands

Result

Bool

Bots can use this method