MadelineProtoDocs/docs/API_docs/constructors/botCommand.md
2024-05-01 14:53:46 +02:00

785 B

title description nav_exclude image
botCommand Describes a bot command that can be used in a chat true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botCommand

Back to constructors index

Describes a bot command that can be used in a chat

Attributes:

Name Type Required Description
command string Yes /command name
description string Yes Description of the command

Type: BotCommand

Example:

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