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::int32_t ephemeralMessageId { }
 Identifier of the ephemeral message to edit.
std::int64_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 15534 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 15554 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 15560 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 15539 of file Types.h.

◆ ephemeralMessageId

std::int32_t TgBot::EditEphemeralMessageCaptionArgs::ephemeralMessageId { }

Identifier of the ephemeral message to edit.

Definition at line 15544 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 15566 of file Types.h.

◆ receiverUserId

std::int64_t TgBot::EditEphemeralMessageCaptionArgs::receiverUserId { }

Identifier of the user who received the message.

Definition at line 15549 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for an inline keyboard.

Definition at line 15571 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 15577 of file Types.h.


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