--- title: textMarked description: Highlighted text image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: textMarked [Back to constructors index](index.md) Highlighted text ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |text|[RichText](../types/RichText.md) | Yes|Text| ### Type: [RichText](../types/RichText.md) ### Example: ```php $textMarked = ['_' => 'textMarked', 'text' => RichText]; ``` Or, if you're into Lua: ```lua textMarked={_='textMarked', text=RichText} ```