GramIO API Reference / gramio/dist / TelegramRichText
Type Alias: TelegramRichText
TelegramRichText =
TelegramRichTextBold|TelegramRichTextItalic|TelegramRichTextUnderline|TelegramRichTextStrikethrough|TelegramRichTextSpoiler|TelegramRichTextDateTime|TelegramRichTextTextMention|TelegramRichTextSubscript|TelegramRichTextSuperscript|TelegramRichTextMarked|TelegramRichTextCode|TelegramRichTextCustomEmoji|TelegramRichTextMathematicalExpression|TelegramRichTextUrl|TelegramRichTextEmailAddress|TelegramRichTextPhoneNumber|TelegramRichTextBankCardNumber|TelegramRichTextMention|TelegramRichTextHashtag|TelegramRichTextCashtag|TelegramRichTextBotCommand|TelegramRichTextButton|TelegramRichTextAnchor|TelegramRichTextAnchorLink|TelegramRichTextReference|TelegramRichTextReferenceLink
Defined in: @gramio/types/out/objects.d.ts:7244
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:
- RichTextBold
- RichTextItalic
- RichTextUnderline
- RichTextStrikethrough
- RichTextSpoiler
- RichTextDateTime
- RichTextTextMention
- RichTextSubscript
- RichTextSuperscript
- RichTextMarked
- RichTextCode
- RichTextCustomEmoji
- RichTextMathematicalExpression
- RichTextUrl
- RichTextEmailAddress
- RichTextPhoneNumber
- RichTextBankCardNumber
- RichTextMention
- RichTextHashtag
- RichTextCashtag
- RichTextBotCommand
- RichTextButton
- RichTextAnchor
- RichTextAnchorLink
- RichTextReference
- RichTextReferenceLink