mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-20 23:23:46 +00:00
24 lines
694 B
PHP
24 lines
694 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(first_name: 'New Bot Name', description: null);
|
|
*
|
|
* @property-read string|null $first_name
|
|
* @property-read string|null $last_name
|
|
* @property-read string|null $description
|
|
* @property-read BotCommand[]|null $commands
|
|
* @property-read PhotoAttachmentRequestPayload|null $photo
|
|
* @property-read string|null $name @deprecated Use first_name
|
|
*/
|
|
final readonly class BotPatch extends AbstractPatchModel
|
|
{
|
|
}
|