tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputTextMessageContent Class Reference

Represents the content of a text message to be sent as the result of an inline query. More...

#include <InputTextMessageContent.h>

Inheritance diagram for TgBot::InputTextMessageContent:
TgBot::InputMessageContent

Public Types

typedef std::shared_ptr< InputTextMessageContentPtr
 
- Public Types inherited from TgBot::InputMessageContent
typedef std::shared_ptr< InputMessageContentPtr
 

Public Member Functions

 InputTextMessageContent ()
 
- Public Member Functions inherited from TgBot::InputMessageContent
 InputMessageContent ()
 
virtual ~InputMessageContent ()
 

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::Ptrentities
 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.
 
- Public Attributes inherited from TgBot::InputMessageContent
std::string type
 Type of the content.
 

Static Public Attributes

static const std::string TYPE
 

Detailed Description

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.

Member Typedef Documentation

◆ Ptr

Definition at line 24 of file InputTextMessageContent.h.

Constructor & Destructor Documentation

◆ InputTextMessageContent()

TgBot::InputTextMessageContent::InputTextMessageContent ( )
inline

Definition at line 26 of file InputTextMessageContent.h.

Member Data Documentation

◆ entities

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

LinkPreviewOptions::Ptr TgBot::InputTextMessageContent::linkPreviewOptions

Optional. Link preview generation options for the message.

Definition at line 50 of file InputTextMessageContent.h.

◆ messageText

std::string TgBot::InputTextMessageContent::messageText

Text of the message to be sent, 1-4096 characters.

Definition at line 33 of file InputTextMessageContent.h.

◆ parseMode

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.

◆ TYPE

const std::string TgBot::InputTextMessageContent::TYPE
static

Definition at line 22 of file InputTextMessageContent.h.


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