tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents the content of a text message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputtextmessagecontent. More...
#include <InputMessageContent.hpp>
Public Member Functions | |
InputTextMessageContent () | |
InputTextMessageContent (const nl::json &json) | |
nl::json | toJson () const override |
void | fromJson (const nl::json &json) override |
Public Attributes | |
std::string | messageText |
Text of the message to be sent, 1-4096 characters. More... | |
std::string | parseMode |
Optional. Mode for parsing entities in the message text. See formatting options for more details. More... | |
std::vector< Ptr< MessageEntity > > | entities |
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode. More... | |
bool | disableWebPagePreview {} |
Optional. Disables link previews for links in the sent message. More... | |
Represents the content of a text message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputtextmessagecontent.
Definition at line 45 of file InputMessageContent.hpp.
|
inline |
Definition at line 46 of file InputMessageContent.hpp.
|
inlineexplicit |
Definition at line 49 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 74 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 65 of file InputMessageContent.hpp.
bool tgbotxx::InputTextMessageContent::disableWebPagePreview {} |
Optional. Disables link previews for links in the sent message.
Definition at line 63 of file InputMessageContent.hpp.
std::vector<Ptr<MessageEntity> > tgbotxx::InputTextMessageContent::entities |
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode.
Definition at line 60 of file InputMessageContent.hpp.
std::string tgbotxx::InputTextMessageContent::messageText |
Text of the message to be sent, 1-4096 characters.
Definition at line 54 of file InputMessageContent.hpp.
std::string tgbotxx::InputTextMessageContent::parseMode |
Optional. Mode for parsing entities in the message text. See formatting options for more details.
Definition at line 57 of file InputMessageContent.hpp.