MadelineProtoDocs/old_docs/API_docs_v97/constructors/botCommand.md
2019-05-03 21:10:09 +02:00

722 B

title description image
botCommand Bot command https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botCommand

Back to constructors index

Bot command

Attributes:

Name Type Required Description
command string Yes Command
description string Yes Description

Type: BotCommand

Example:

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

Or, if you're into Lua:

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