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. See https://core.telegram.org/bots/api#formatting-options for more details.
 
std::vector< MessageEntity::Ptrentities
 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.
 
- 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 18 of file InputTextMessageContent.h.

Member Typedef Documentation

◆ Ptr

Definition at line 22 of file InputTextMessageContent.h.

Constructor & Destructor Documentation

◆ InputTextMessageContent()

TgBot::InputTextMessageContent::InputTextMessageContent ( )
inline

Definition at line 24 of file InputTextMessageContent.h.

Member Data Documentation

◆ disableWebPagePreview

bool TgBot::InputTextMessageContent::disableWebPagePreview

Optional. Disables link previews for links in the sent message.

Definition at line 47 of file InputTextMessageContent.h.

◆ entities

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.

◆ messageText

std::string TgBot::InputTextMessageContent::messageText

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

Definition at line 31 of file InputTextMessageContent.h.

◆ parseMode

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.

◆ TYPE

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

Definition at line 20 of file InputTextMessageContent.h.


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