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

Arguments for Api::deleteMessage. 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::int32_t messageId { }
 Identifier of the message to delete.

Detailed Description

Arguments for Api::deleteMessage.

Definition at line 15341 of file Types.h.

Member Data Documentation

◆ chatId

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

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

Definition at line 15346 of file Types.h.

◆ messageId

std::int32_t TgBot::DeleteMessageArgs::messageId { }

Identifier of the message to delete.

Definition at line 15351 of file Types.h.


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