mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-21 05:04:08 +00:00
22 lines
578 B
PHP
22 lines
578 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models;
|
|
|
|
use BushlanovDev\MaxMessengerBot\Models\Attachments\Payloads\PhotoAttachmentRequestPayload;
|
|
|
|
/**
|
|
* Represents the data to patch for a bot. Instantiate with named arguments.
|
|
*
|
|
* Example: new BotPatch(name: 'New Bot Name', description: null);
|
|
*
|
|
* @property-read string|null $name
|
|
* @property-read string|null $description
|
|
* @property-read BotCommand[]|null $commands
|
|
* @property-read PhotoAttachmentRequestPayload|null $photo
|
|
*/
|
|
final readonly class BotPatch extends AbstractPatchModel
|
|
{
|
|
}
|