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::int32_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::int64_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 15584 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 15616 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 15589 of file Types.h.

◆ ephemeralMessageId

std::int32_t TgBot::EditEphemeralMessageMediaArgs::ephemeralMessageId { }

Identifier of the ephemeral message to edit.

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

◆ receiverUserId

std::int64_t TgBot::EditEphemeralMessageMediaArgs::receiverUserId { }

Identifier of the user who received the message.

Definition at line 15604 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for an inline keyboard.

Definition at line 15609 of file Types.h.


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