MadelineProtoDocs/old_docs/API_docs_v81/constructors/botCommand.md

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'}