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

Arguments for Api::editMessageReplyMarkup. More...

#include <Types.h>

Public Attributes

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 an inline keyboard.
std::string businessConnectionId = ""
 Unique identifier of the business connection on behalf of which the message to be edited was sent.

Detailed Description

Arguments for Api::editMessageReplyMarkup.

Definition at line 15966 of file Types.h.

Member Data Documentation

◆ businessConnectionId

std::string TgBot::EditMessageReplyMarkupArgs::businessConnectionId = ""

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

Definition at line 15995 of file Types.h.

◆ chatId

std::variant<std::int64_t, std::string> TgBot::EditMessageReplyMarkupArgs::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 15972 of file Types.h.

◆ inlineMessageId

std::string TgBot::EditMessageReplyMarkupArgs::inlineMessageId = ""

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

Definition at line 15984 of file Types.h.

◆ messageId

std::int32_t TgBot::EditMessageReplyMarkupArgs::messageId = 0

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

Definition at line 15978 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for an inline keyboard.

Definition at line 15989 of file Types.h.


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