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

Arguments for Api::editEphemeralMessageCaption. More...

#include <Types.h>

Public Attributes

std::variant< std::int64_t, std::string > chatId { }
 Unique identifier for the target chat or username of the target supergroup in the format @username.
std::uint32_t ephemeralMessageId { }
 Identifier of the ephemeral message to edit.
std::uint64_t receiverUserId { }
 Identifier of the user who received the message.
std::string caption = ""
 New caption of the message, 0-1024 characters after entities parsing.
std::vector< std::shared_ptr< MessageEntity > > captionEntities = { }
 A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode.
std::string parseMode = ""
 Mode for parsing entities in the message caption. See formatting options for more details.
std::shared_ptr< InlineKeyboardMarkup > replyMarkup = nullptr
 A JSON-serialized object for an inline keyboard.
bool showCaptionAboveMedia = false
 Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.

Detailed Description

Arguments for Api::editEphemeralMessageCaption.

Definition at line 16391 of file Types.h.

Member Data Documentation

◆ caption

std::string TgBot::EditEphemeralMessageCaptionArgs::caption = ""

New caption of the message, 0-1024 characters after entities parsing.

Definition at line 16411 of file Types.h.

◆ captionEntities

std::vector<std::shared_ptr<MessageEntity> > TgBot::EditEphemeralMessageCaptionArgs::captionEntities = { }

A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode.

Definition at line 16417 of file Types.h.

◆ chatId

std::variant<std::int64_t, std::string> TgBot::EditEphemeralMessageCaptionArgs::chatId { }

Unique identifier for the target chat or username of the target supergroup in the format @username.

Definition at line 16396 of file Types.h.

◆ ephemeralMessageId

std::uint32_t TgBot::EditEphemeralMessageCaptionArgs::ephemeralMessageId { }

Identifier of the ephemeral message to edit.

Definition at line 16401 of file Types.h.

◆ parseMode

std::string TgBot::EditEphemeralMessageCaptionArgs::parseMode = ""

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

Definition at line 16423 of file Types.h.

◆ receiverUserId

std::uint64_t TgBot::EditEphemeralMessageCaptionArgs::receiverUserId { }

Identifier of the user who received the message.

Definition at line 16406 of file Types.h.

◆ replyMarkup

std::shared_ptr<InlineKeyboardMarkup> TgBot::EditEphemeralMessageCaptionArgs::replyMarkup = nullptr

A JSON-serialized object for an inline keyboard.

Definition at line 16428 of file Types.h.

◆ showCaptionAboveMedia

bool TgBot::EditEphemeralMessageCaptionArgs::showCaptionAboveMedia = false

Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.

Definition at line 16434 of file Types.h.


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