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

Arguments for Api::editMessageMedia. More...

#include <Types.h>

Public Attributes

std::shared_ptr< InputMedia > media { }
 A JSON-serialized object for the new media content of the message.
std::variant< std::int64_t, std::string > chatId = { }
 Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.
std::int32_t messageId = 0
 Required if inline_message_id is not specified. Identifier of the message to edit.
std::string inlineMessageId = ""
 Required if chat_id and message_id are not specified. Identifier of the inline message.
std::shared_ptr< InlineKeyboardMarkup > replyMarkup = nullptr
 A JSON-serialized object for a new inline keyboard.
std::string businessConnectionId = ""
 Unique identifier of the business connection on behalf of which the message to be edited was sent.
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::editMessageMedia.

Definition at line 15918 of file Types.h.

Member Data Documentation

◆ attachments

std::vector<InputFileAttachment> TgBot::EditMessageMediaArgs::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 15959 of file Types.h.

◆ businessConnectionId

std::string TgBot::EditMessageMediaArgs::businessConnectionId = ""

Unique identifier of the business connection on behalf of which the message to be edited was sent.

Definition at line 15952 of file Types.h.

◆ chatId

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

Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.

Definition at line 15929 of file Types.h.

◆ inlineMessageId

std::string TgBot::EditMessageMediaArgs::inlineMessageId = ""

Required if chat_id and message_id are not specified. Identifier of the inline message.

Definition at line 15941 of file Types.h.

◆ media

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

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

Definition at line 15922 of file Types.h.

◆ messageId

std::int32_t TgBot::EditMessageMediaArgs::messageId = 0

Required if inline_message_id is not specified. Identifier of the message to edit.

Definition at line 15935 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for a new inline keyboard.

Definition at line 15946 of file Types.h.


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