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

Arguments for Api::unpinChatMessage. 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 channel in the format @username.
std::string businessConnectionId = ""
 Unique identifier of the business connection on behalf of which the message will be unpinned.
std::int32_t messageId = 0
 Identifier of the message to unpin. Required if business_connection_id is specified. If not specified, the most recent pinned message (by sending date) will be unpinned.

Detailed Description

Arguments for Api::unpinChatMessage.

Definition at line 21206 of file Types.h.

Member Data Documentation

◆ businessConnectionId

std::string TgBot::UnpinChatMessageArgs::businessConnectionId = ""

Unique identifier of the business connection on behalf of which the message will be unpinned.

Definition at line 21217 of file Types.h.

◆ chatId

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

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

Definition at line 21211 of file Types.h.

◆ messageId

std::int32_t TgBot::UnpinChatMessageArgs::messageId = 0

Identifier of the message to unpin. Required if business_connection_id is specified. If not specified, the most recent pinned message (by sending date) will be unpinned.

Definition at line 21224 of file Types.h.


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