danog\MadelineProto\EventHandler\Message\Entities\TextWithEntities
Author: Daniil Gentili daniil@daniil.it
Properties
$text
:string
Text$entities
:array
Message entities for styled text$parseMode
:?danog\MadelineProto\ParseMode
Whether to parse HTML or Markdown markup in the message
Method list:
__construct(string $text, array $entities, ?\danog\MadelineProto\ParseMode $parseMode)
getHTML(bool $allowTelegramTags = false): string
Methods:
__construct(string $text, array $entities, ?\danog\MadelineProto\ParseMode $parseMode)
Parameters:
$text
:string
$entities
:array
$parseMode
:?\danog\MadelineProto\ParseMode
See also:
getHTML(bool $allowTelegramTags = false): string
Get an HTML version of the message.
Parameters:
$allowTelegramTags
:bool
Whether to allow telegram-specific tags like tg-spoiler, tg-emoji, mention links and so on…
Generated by danog/phpdoc