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. | |
std::vector< MessageEntity::Ptr > | entities |
Optional. List of special entities that appear in message text, which can be specified instead of parseMode. | |
LinkPreviewOptions::Ptr | linkPreviewOptions |
Optional. Link preview generation options for the 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 19 of file InputTextMessageContent.h.
typedef std::shared_ptr<InputTextMessageContent> TgBot::InputTextMessageContent::Ptr |
Definition at line 24 of file InputTextMessageContent.h.
|
inline |
Definition at line 26 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 parseMode.
Definition at line 45 of file InputTextMessageContent.h.
LinkPreviewOptions::Ptr TgBot::InputTextMessageContent::linkPreviewOptions |
Optional. Link preview generation options for the message.
Definition at line 50 of file InputTextMessageContent.h.
std::string TgBot::InputTextMessageContent::messageText |
Text of the message to be sent, 1-4096 characters.
Definition at line 33 of file InputTextMessageContent.h.
std::string TgBot::InputTextMessageContent::parseMode |
Optional. Mode for parsing entities in the message text.
See formatting options for more details.
Definition at line 40 of file InputTextMessageContent.h.
|
static |
Definition at line 22 of file InputTextMessageContent.h.