MadelineProtoDocs/old_docs/API_docs_v75/constructors/textBold.md

672 B

title description image
textBold textBold attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: textBold

Back to constructors index

Attributes:

Name Type Required
text RichText Yes

Type: RichText

Example:

$textBold = ['_' => 'textBold', 'text' => RichText];

PWRTelegram json-encoded version:

{"_": "textBold", "text": RichText}

Or, if you're into Lua:

textBold={_='textBold', text=RichText}