RichText
This object represents a rich formatted text. Currently, it can be either a String for plain text, an Array of RichText, or any of the following types:
one of
- RichTextBold
- RichTextItalic
- RichTextUnderline
- RichTextStrikethrough
- RichTextSpoiler
- RichTextDateTime
- RichTextTextMention
- RichTextSubscript
- RichTextSuperscript
- RichTextMarked
- RichTextCode
- RichTextCustomEmoji
- RichTextMathematicalExpression
- RichTextUrl
- RichTextEmailAddress
- RichTextPhoneNumber
- RichTextBankCardNumber
- RichTextMention
- RichTextHashtag
- RichTextCashtag
- RichTextBotCommand
- RichTextAnchor
- RichTextAnchorLink
- RichTextReference
- RichTextReferenceLink
import
import type { RichText } from "@yaebal/types";used by
types
- RichBlockBlockQuotation
- RichBlockCaption
- RichBlockDetails
- RichBlockFooter
- RichBlockParagraph
- RichBlockPreformatted
- RichBlockPullQuotation
- RichBlockSectionHeading
- RichBlockTable
- RichBlockTableCell
- RichBlockThinking
- RichTextAnchorLink
- RichTextBankCardNumber
- RichTextBold
- RichTextBotCommand
- RichTextCashtag
- RichTextCode
- RichTextDateTime
- RichTextEmailAddress
- RichTextHashtag
- RichTextItalic
- RichTextMarked
- RichTextMention
- RichTextPhoneNumber
- RichTextReference
- RichTextReferenceLink
- RichTextSpoiler
- RichTextStrikethrough
- RichTextSubscript
- RichTextSuperscript
- RichTextTextMention
- RichTextUnderline
- RichTextUrl
official Bot API docs: https://core.telegram.org/bots/api/#richtext