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

Arguments for Api::sendChecklist. 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 in the format @username.
std::string businessConnectionId { }
 Unique identifier of the business connection on behalf of which the message will be sent.
std::shared_ptr< InputChecklist > checklist { }
 A JSON-serialized object for the checklist to send.
bool disableNotification = false
 Sends the message silently. Users will receive a notification with no sound.
std::string messageEffectId = ""
 Unique identifier of the message effect to be added to the message.
bool protectContent = false
 Protects the contents of the sent message from forwarding and saving.
std::shared_ptr< InlineKeyboardMarkup > replyMarkup = nullptr
 A JSON-serialized object for an inline keyboard.
std::shared_ptr< ReplyParameters > replyParameters = nullptr
 A JSON-serialized object for description of the message to reply to.

Detailed Description

Arguments for Api::sendChecklist.

Definition at line 17802 of file Types.h.

Member Data Documentation

◆ businessConnectionId

std::string TgBot::SendChecklistArgs::businessConnectionId { }

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

Definition at line 17813 of file Types.h.

◆ chatId

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

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

Definition at line 17807 of file Types.h.

◆ checklist

std::shared_ptr<InputChecklist> TgBot::SendChecklistArgs::checklist { }

A JSON-serialized object for the checklist to send.

Definition at line 17818 of file Types.h.

◆ disableNotification

bool TgBot::SendChecklistArgs::disableNotification = false

Sends the message silently. Users will receive a notification with no sound.

Definition at line 17824 of file Types.h.

◆ messageEffectId

std::string TgBot::SendChecklistArgs::messageEffectId = ""

Unique identifier of the message effect to be added to the message.

Definition at line 17829 of file Types.h.

◆ protectContent

bool TgBot::SendChecklistArgs::protectContent = false

Protects the contents of the sent message from forwarding and saving.

Definition at line 17834 of file Types.h.

◆ replyMarkup

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

A JSON-serialized object for an inline keyboard.

Definition at line 17839 of file Types.h.

◆ replyParameters

std::shared_ptr<ReplyParameters> TgBot::SendChecklistArgs::replyParameters = nullptr

A JSON-serialized object for description of the message to reply to.

Definition at line 17844 of file Types.h.


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