mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-21 11:12:11 +00:00
22 lines
540 B
PHP
22 lines
540 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models\Attachments\Buttons\Reply;
|
|
|
|
use BushlanovDev\MaxMessengerBot\Enums\ReplyButtonType;
|
|
use BushlanovDev\MaxMessengerBot\Models\AbstractModel;
|
|
|
|
abstract readonly class AbstractReplyButton extends AbstractModel
|
|
{
|
|
/**
|
|
* @param ReplyButtonType $type The type of the reply button.
|
|
* @param string $text Visible text of the button.
|
|
*/
|
|
public function __construct(
|
|
public ReplyButtonType $type,
|
|
public string $text,
|
|
) {
|
|
}
|
|
}
|