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

Arguments for Api::stopPoll. 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 original message with the poll.
std::string businessConnectionId = ""
 Unique identifier of the business connection on behalf of which the message to be edited was sent.
std::shared_ptr< InlineKeyboardMarkup > replyMarkup = nullptr
 A JSON-serialized object for a new message inline keyboard.

Detailed Description

Arguments for Api::stopPoll.

Definition at line 21041 of file Types.h.

Member Data Documentation

◆ businessConnectionId

std::string TgBot::StopPollArgs::businessConnectionId = ""

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

Definition at line 21057 of file Types.h.

◆ chatId

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

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

Definition at line 21046 of file Types.h.

◆ messageId

std::int32_t TgBot::StopPollArgs::messageId { }

Identifier of the original message with the poll.

Definition at line 21051 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for a new message inline keyboard.

Definition at line 21062 of file Types.h.


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