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

Arguments for Api::deleteMessages. 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 bot, supergroup, or channel in the format @username.
std::vector< std::uint32_t > messageIds { }
 A JSON-serialized list of 1-100 identifiers of messages to delete. See deleteMessage for limitations on which messages can be deleted.

Detailed Description

Arguments for Api::deleteMessages.

Definition at line 16244 of file Types.h.

Member Data Documentation

◆ chatId

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

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

Definition at line 16249 of file Types.h.

◆ messageIds

std::vector<std::uint32_t> TgBot::DeleteMessagesArgs::messageIds { }

A JSON-serialized list of 1-100 identifiers of messages to delete. See deleteMessage for limitations on which messages can be deleted.

Definition at line 16255 of file Types.h.


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