mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-19 17:52:58 +00:00
19 lines
498 B
PHP
19 lines
498 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);
|
|
}
|
|
}
|