# RichText

> Part of the [Telegram Bot API](/bots/api.md). Canonical location: [RichText](/bots/api#richtext).

This object represents a rich formatted text. Currently, it can be either a String for plain text, an Array of [RichText](/bots/api/types/richtext.md), or any of the following types:

* [RichTextBold](/bots/api/types/richtextbold.md)
* [RichTextItalic](/bots/api/types/richtextitalic.md)
* [RichTextUnderline](/bots/api/types/richtextunderline.md)
* [RichTextStrikethrough](/bots/api/types/richtextstrikethrough.md)
* [RichTextSpoiler](/bots/api/types/richtextspoiler.md)
* [RichTextDateTime](/bots/api/types/richtextdatetime.md)
* [RichTextTextMention](/bots/api/types/richtexttextmention.md)
* [RichTextSubscript](/bots/api/types/richtextsubscript.md)
* [RichTextSuperscript](/bots/api/types/richtextsuperscript.md)
* [RichTextMarked](/bots/api/types/richtextmarked.md)
* [RichTextCode](/bots/api/types/richtextcode.md)
* [RichTextCustomEmoji](/bots/api/types/richtextcustomemoji.md)
* [RichTextMathematicalExpression](/bots/api/types/richtextmathematicalexpression.md)
* [RichTextUrl](/bots/api/types/richtexturl.md)
* [RichTextEmailAddress](/bots/api/types/richtextemailaddress.md)
* [RichTextPhoneNumber](/bots/api/types/richtextphonenumber.md)
* [RichTextBankCardNumber](/bots/api/types/richtextbankcardnumber.md)
* [RichTextMention](/bots/api/types/richtextmention.md)
* [RichTextHashtag](/bots/api/types/richtexthashtag.md)
* [RichTextCashtag](/bots/api/types/richtextcashtag.md)
* [RichTextBotCommand](/bots/api/types/richtextbotcommand.md)
* [RichTextButton](/bots/api/types/richtextbutton.md)
* [RichTextAnchor](/bots/api/types/richtextanchor.md)
* [RichTextAnchorLink](/bots/api/types/richtextanchorlink.md)
* [RichTextReference](/bots/api/types/richtextreference.md)
* [RichTextReferenceLink](/bots/api/types/richtextreferencelink.md)
