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

Arguments for Api::editEphemeralMessageMedia. 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::shared_ptr< InputMedia > media { }
 A JSON-serialized object for the new media content of the message.
std::uint64_t receiverUserId { }
 Identifier of the user who received the message.
std::shared_ptr< InlineKeyboardMarkup > replyMarkup = nullptr
 A JSON-serialized object for an inline keyboard.
std::vector< InputFileAttachment > attachments = { }
 Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Detailed Description

Arguments for Api::editEphemeralMessageMedia.

Definition at line 16441 of file Types.h.

Member Data Documentation

◆ attachments

std::vector<InputFileAttachment> TgBot::EditEphemeralMessageMediaArgs::attachments = { }

Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Definition at line 16473 of file Types.h.

◆ chatId

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

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

Definition at line 16446 of file Types.h.

◆ ephemeralMessageId

std::uint32_t TgBot::EditEphemeralMessageMediaArgs::ephemeralMessageId { }

Identifier of the ephemeral message to edit.

Definition at line 16451 of file Types.h.

◆ media

std::shared_ptr<InputMedia> TgBot::EditEphemeralMessageMediaArgs::media { }

A JSON-serialized object for the new media content of the message.

Definition at line 16456 of file Types.h.

◆ receiverUserId

std::uint64_t TgBot::EditEphemeralMessageMediaArgs::receiverUserId { }

Identifier of the user who received the message.

Definition at line 16461 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for an inline keyboard.

Definition at line 16466 of file Types.h.


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