mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-20 19:03:07 +00:00
20 lines
502 B
PHP
20 lines
502 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models\Attachments;
|
|
|
|
use BushlanovDev\MaxMessengerBot\Enums\AttachmentType;
|
|
use BushlanovDev\MaxMessengerBot\Models\Attachments\Buttons\Reply\AbstractReplyButton;
|
|
|
|
final readonly class ReplyKeyboardAttachment extends AbstractAttachment
|
|
{
|
|
/**
|
|
* @param AbstractReplyButton[][] $buttons
|
|
*/
|
|
public function __construct(public array $buttons)
|
|
{
|
|
parent::__construct(AttachmentType::ReplyKeyboard);
|
|
}
|
|
}
|