mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-20 21:03:12 +00:00
22 lines
451 B
PHP
22 lines
451 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models;
|
|
|
|
/**
|
|
* Command supported by the bot.
|
|
*/
|
|
final readonly class BotCommand extends AbstractModel
|
|
{
|
|
/**
|
|
* @param string $name Command name (1 to 64 characters)
|
|
* @param string|null $description Command description (1 to 128 characters)
|
|
*/
|
|
public function __construct(
|
|
public string $name,
|
|
public ?string $description,
|
|
) {
|
|
}
|
|
}
|