mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-21 17:02:07 +00:00
19 lines
430 B
PHP
19 lines
430 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models\Attachments\Buttons\Reply;
|
|
|
|
use BushlanovDev\MaxMessengerBot\Enums\ReplyButtonType;
|
|
|
|
final readonly class SendContactButton extends AbstractReplyButton
|
|
{
|
|
/**
|
|
* @param string $text Visible text of the button.
|
|
*/
|
|
public function __construct(string $text)
|
|
{
|
|
parent::__construct(ReplyButtonType::UserContact, $text);
|
|
}
|
|
}
|