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

Arguments for Api::editEphemeralMessageText. 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 text = ""
 New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified.
std::vector< std::shared_ptr< MessageEntity > > entities = { }
 A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode.
std::shared_ptr< LinkPreviewOptions > linkPreviewOptions = nullptr
 Link preview generation options for the message.
std::string parseMode = ""
 Mode for parsing entities in the message text. See formatting options for more details.
std::shared_ptr< InlineKeyboardMarkup > replyMarkup = nullptr
 A JSON-serialized object for an inline keyboard.
std::shared_ptr< InputRichMessage > richMessage = nullptr
 New rich content of the message; required if text isn't specified.

Detailed Description

Arguments for Api::editEphemeralMessageText.

Definition at line 16507 of file Types.h.

Member Data Documentation

◆ chatId

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

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

Definition at line 16512 of file Types.h.

◆ entities

std::vector<std::shared_ptr<MessageEntity> > TgBot::EditEphemeralMessageTextArgs::entities = { }

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

Definition at line 16534 of file Types.h.

◆ ephemeralMessageId

std::uint32_t TgBot::EditEphemeralMessageTextArgs::ephemeralMessageId { }

Identifier of the ephemeral message to edit.

Definition at line 16517 of file Types.h.

◆ linkPreviewOptions

std::shared_ptr<LinkPreviewOptions> TgBot::EditEphemeralMessageTextArgs::linkPreviewOptions = nullptr

Link preview generation options for the message.

Definition at line 16539 of file Types.h.

◆ parseMode

std::string TgBot::EditEphemeralMessageTextArgs::parseMode = ""

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

Definition at line 16545 of file Types.h.

◆ receiverUserId

std::uint64_t TgBot::EditEphemeralMessageTextArgs::receiverUserId { }

Identifier of the user who received the message.

Definition at line 16522 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for an inline keyboard.

Definition at line 16550 of file Types.h.

◆ richMessage

std::shared_ptr<InputRichMessage> TgBot::EditEphemeralMessageTextArgs::richMessage = nullptr

New rich content of the message; required if text isn't specified.

Definition at line 16555 of file Types.h.

◆ text

std::string TgBot::EditEphemeralMessageTextArgs::text = ""

New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified.

Definition at line 16528 of file Types.h.


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