MadelineProto/old_docs/API_docs_v33/constructors/botCommand.md

513 B

title description
botCommand botCommand attributes, type and example

Constructor: botCommand

Back to constructors index

Attributes:

Name Type Required
command string Required
description string Required

Type: BotCommand

Example:

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