MadelineProto/old_docs/API_docs_v38/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, ];