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

Arguments for Api::editMessageWidgetData. More...

#include <Types.h>

Public Attributes

std::string chatData = ""
 New data of the widget, which is specific to the message, 0-1024 bytes; pass an empty string to remove the data. If omitted, then the data isn't changed.
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 supergroup in the format @username.
std::string inlineMessageId = ""
 Required if chat_id and message_id are not specified. Identifier of the inline message.
std::uint32_t messageId = 0
 Required if inline_message_id is not specified. Identifier of the message with the widget.
std::string publicData = ""
 New public data of the widget, 0-1024 bytes; pass an empty string to remove the public data. If omitted, then the public data isn't changed.

Detailed Description

Arguments for Api::editMessageWidgetData.

Definition at line 16932 of file Types.h.

Member Data Documentation

◆ chatData

std::string TgBot::EditMessageWidgetDataArgs::chatData = ""

New data of the widget, which is specific to the message, 0-1024 bytes; pass an empty string to remove the data. If omitted, then the data isn't changed.

Definition at line 16938 of file Types.h.

◆ chatId

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

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

Definition at line 16945 of file Types.h.

◆ inlineMessageId

std::string TgBot::EditMessageWidgetDataArgs::inlineMessageId = ""

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

Definition at line 16951 of file Types.h.

◆ messageId

std::uint32_t TgBot::EditMessageWidgetDataArgs::messageId = 0

Required if inline_message_id is not specified. Identifier of the message with the widget.

Definition at line 16957 of file Types.h.

◆ publicData

std::string TgBot::EditMessageWidgetDataArgs::publicData = ""

New public data of the widget, 0-1024 bytes; pass an empty string to remove the public data. If omitted, then the public data isn't changed.

Definition at line 16963 of file Types.h.


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