tgbot-cpp
|
Represents the content of a text message to be sent as the result of an inline query. More...
#include <InputTextMessageContent.h>
Public Types | |
typedef std::shared_ptr< InputTextMessageContent > | Ptr |
Public Member Functions | |
InputTextMessageContent () | |
Public Attributes | |
std::string | messageText |
Text of the message to be sent, 1-4096 characters. | |
std::string | parseMode |
Optional. Mode for parsing entities in the message text. See https://core.telegram.org/bots/api#formatting-options for more details. | |
std::vector< MessageEntity::Ptr > | entities |
Optional. List of special entities that appear in message text, which can be specified instead of InputTextMessageContent::parseMode. | |
bool | disableWebPagePreview |
Optional. Disables link previews for links in the sent message. | |
Static Public Attributes | |
static const std::string | TYPE |
Represents the content of a text message to be sent as the result of an inline query.
Definition at line 18 of file InputTextMessageContent.h.
typedef std::shared_ptr<InputTextMessageContent> TgBot::InputTextMessageContent::Ptr |
Definition at line 22 of file InputTextMessageContent.h.
|
inline |
Definition at line 24 of file InputTextMessageContent.h.
bool TgBot::InputTextMessageContent::disableWebPagePreview |
Optional. Disables link previews for links in the sent message.
Definition at line 47 of file InputTextMessageContent.h.
std::vector<MessageEntity::Ptr> TgBot::InputTextMessageContent::entities |
Optional. List of special entities that appear in message text, which can be specified instead of InputTextMessageContent::parseMode.
Definition at line 42 of file InputTextMessageContent.h.
std::string TgBot::InputTextMessageContent::messageText |
Text of the message to be sent, 1-4096 characters.
Definition at line 31 of file InputTextMessageContent.h.
std::string TgBot::InputTextMessageContent::parseMode |
Optional. Mode for parsing entities in the message text. See https://core.telegram.org/bots/api#formatting-options for more details.
Definition at line 37 of file InputTextMessageContent.h.
|
static |
Definition at line 20 of file InputTextMessageContent.h.