mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-20 14:53:26 +00:00
25 lines
551 B
PHP
25 lines
551 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models\Markup;
|
|
|
|
use BushlanovDev\MaxMessengerBot\Enums\MarkupType;
|
|
|
|
/**
|
|
* Represents a **strong** (bold) part of the text.
|
|
*/
|
|
final readonly class StrongMarkup extends AbstractMarkup
|
|
{
|
|
/**
|
|
* @param int $from Element start index (zero-based) in text.
|
|
* @param int $length Length of the markup element.
|
|
*/
|
|
public function __construct(
|
|
int $from,
|
|
int $length,
|
|
) {
|
|
parent::__construct(MarkupType::Strong, $from, $length);
|
|
}
|
|
}
|