mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
785 B
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
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'];