tgbot-cpp
Loading...
Searching...
No Matches
TgBot::RichText Struct Reference

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 RichTextAnchor RichTextAnchorLink RichTextReference RichTextReferenceLink. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichText>

Public Attributes

std::variant< std::shared_ptr< RichTextBold >, std::shared_ptr< RichTextItalic >, std::shared_ptr< RichTextUnderline >, std::shared_ptr< RichTextStrikethrough >, std::shared_ptr< RichTextSpoiler >, std::shared_ptr< RichTextDateTime >, std::shared_ptr< RichTextTextMention >, std::shared_ptr< RichTextSubscript >, std::shared_ptr< RichTextSuperscript >, std::shared_ptr< RichTextMarked >, std::shared_ptr< RichTextCode >, std::shared_ptr< RichTextCustomEmoji >, std::shared_ptr< RichTextMathematicalExpression >, std::shared_ptr< RichTextUrl >, std::shared_ptr< RichTextEmailAddress >, std::shared_ptr< RichTextPhoneNumber >, std::shared_ptr< RichTextBankCardNumber >, std::shared_ptr< RichTextMention >, std::shared_ptr< RichTextHashtag >, std::shared_ptr< RichTextCashtag >, std::shared_ptr< RichTextBotCommand >, std::shared_ptr< RichTextAnchor >, std::shared_ptr< RichTextAnchorLink >, std::shared_ptr< RichTextReference >, std::shared_ptr< RichTextReferenceLink > > value

Detailed Description

Member Typedef Documentation

◆ Ptr

using TgBot::RichText::Ptr = std::shared_ptr<RichText>

Definition at line 12415 of file Types.h.

Member Data Documentation

◆ value

std::variant< std::shared_ptr<RichTextBold>, std::shared_ptr<RichTextItalic>, std::shared_ptr<RichTextUnderline>, std::shared_ptr<RichTextStrikethrough>, std::shared_ptr<RichTextSpoiler>, std::shared_ptr<RichTextDateTime>, std::shared_ptr<RichTextTextMention>, std::shared_ptr<RichTextSubscript>, std::shared_ptr<RichTextSuperscript>, std::shared_ptr<RichTextMarked>, std::shared_ptr<RichTextCode>, std::shared_ptr<RichTextCustomEmoji>, std::shared_ptr<RichTextMathematicalExpression>, std::shared_ptr<RichTextUrl>, std::shared_ptr<RichTextEmailAddress>, std::shared_ptr<RichTextPhoneNumber>, std::shared_ptr<RichTextBankCardNumber>, std::shared_ptr<RichTextMention>, std::shared_ptr<RichTextHashtag>, std::shared_ptr<RichTextCashtag>, std::shared_ptr<RichTextBotCommand>, std::shared_ptr<RichTextAnchor>, std::shared_ptr<RichTextAnchorLink>, std::shared_ptr<RichTextReference>, std::shared_ptr<RichTextReferenceLink> > TgBot::RichText::value

Definition at line 12427 of file Types.h.


The documentation for this struct was generated from the following file: