1#ifndef TGBOT_INPUTTEXTMESSAGECONTENT_H
2#define TGBOT_INPUTTEXTMESSAGECONTENT_H
22 static const std::string
TYPE;
24 typedef std::shared_ptr<InputTextMessageContent>
Ptr;
This abstract class is base of all message contents.
std::string type
Type of the content.
Represents the content of a text message to be sent as the result of an inline query.
InputTextMessageContent()
std::string messageText
Text of the message to be sent, 1-4096 characters.
LinkPreviewOptions::Ptr linkPreviewOptions
Optional. Link preview generation options for the message.
std::shared_ptr< InputTextMessageContent > Ptr
std::string parseMode
Optional. Mode for parsing entities in the message text.
static const std::string TYPE
std::vector< MessageEntity::Ptr > entities
Optional. List of special entities that appear in message text, which can be specified instead of par...
std::shared_ptr< LinkPreviewOptions > Ptr