danog\MadelineProto\EventHandler\Message\Entities\TextWithEntities
Author: Daniil Gentili daniil@daniil.it
Properties
$text:stringText$entities:list<MessageEntity>Message entities for styled text.$parseMode:?danog\MadelineProto\ParseModeWhether 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:boolWhether to allow telegram-specific tags like tg-spoiler, tg-emoji, mention links and so on…
Generated by danog/phpdoc