Constructor: botCommand

Back to constructors index

Represents command supported by bot


Name Type Required Description
command string Yes Text of the bot command
description string Yes Description of the bot command

Type: BotCommand


$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string'];

Or, if you’re into Lua:

botCommand={_='botCommand', command='string', description='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.