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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputTextMessageContent>

Public Attributes

std::string messageText { }
 Text of the message to be sent, 1-4096 characters.
std::optional< std::string > parseMode { }
 Optional. Mode for parsing entities in the message text. See formatting options for more details.
std::optional< std::vector< std::shared_ptr< MessageEntity > > > entities { }
 Optional. List of special entities that appear in message text, which can be specified instead of parse_mode.
std::shared_ptr< LinkPreviewOptionslinkPreviewOptions { }
 Optional. Link preview generation options for the message.

Detailed Description

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

Definition at line 8103 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 8104 of file Types.h.

Member Data Documentation

◆ entities

std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::InputTextMessageContent::entities { }

Optional. List of special entities that appear in message text, which can be specified instead of parse_mode.

Definition at line 8121 of file Types.h.

◆ linkPreviewOptions

std::shared_ptr<LinkPreviewOptions> TgBot::InputTextMessageContent::linkPreviewOptions { }

Optional. Link preview generation options for the message.

Definition at line 8126 of file Types.h.

◆ messageText

std::string TgBot::InputTextMessageContent::messageText { }

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

Definition at line 8109 of file Types.h.

◆ parseMode

std::optional<std::string> TgBot::InputTextMessageContent::parseMode { }

Optional. Mode for parsing entities in the message text. See formatting options for more details.

Definition at line 8115 of file Types.h.


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