tgbotxx 1.1.9.2
Telegram Bot C++ Library
Loading...
Searching...
No Matches
tgbotxx::ChecklistTasksDone Struct Reference

Describes a service message about checklist tasks marked as done or not done. https://core.telegram.org/bots/api#checklisttasksdone. More...

#include <ChecklistTasksDone.hpp>

Public Member Functions

 ChecklistTasksDone ()=default
 
 ChecklistTasksDone (const nl::json &json)
 
nl::json toJson () const
 Serializes this object to JSON.
 
void fromJson (const nl::json &json)
 Deserializes this object from JSON.
 

Public Attributes

Ptr< MessagechecklistMessage
 Optional. Message containing the checklist whose tasks were marked as done or not done. Note: reply_to_message is excluded even if it was a reply.
 
std::vector< std::int32_t > markedAsDoneTaskIds
 Optional. Identifiers of the tasks that were marked as done.
 
std::vector< std::int32_t > markedAsNotDoneTaskIds
 Optional. Identifiers of the tasks that were marked as not done.
 

Detailed Description

Describes a service message about checklist tasks marked as done or not done. https://core.telegram.org/bots/api#checklisttasksdone.

Definition at line 8 of file ChecklistTasksDone.hpp.

Constructor & Destructor Documentation

◆ ChecklistTasksDone() [1/2]

tgbotxx::ChecklistTasksDone::ChecklistTasksDone ( )
default

◆ ChecklistTasksDone() [2/2]

tgbotxx::ChecklistTasksDone::ChecklistTasksDone ( const nl::json &  json)
inlineexplicit

Definition at line 10 of file ChecklistTasksDone.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::ChecklistTasksDone::fromJson ( const nl::json &  json)
inline

Deserializes this object from JSON.

Definition at line 34 of file ChecklistTasksDone.hpp.

◆ toJson()

nl::json tgbotxx::ChecklistTasksDone::toJson ( ) const
inline

Serializes this object to JSON.

Returns
JSON representation of this object

Definition at line 26 of file ChecklistTasksDone.hpp.

Member Data Documentation

◆ checklistMessage

Ptr<Message> tgbotxx::ChecklistTasksDone::checklistMessage

Optional. Message containing the checklist whose tasks were marked as done or not done. Note: reply_to_message is excluded even if it was a reply.

Definition at line 16 of file ChecklistTasksDone.hpp.

◆ markedAsDoneTaskIds

std::vector<std::int32_t> tgbotxx::ChecklistTasksDone::markedAsDoneTaskIds

Optional. Identifiers of the tasks that were marked as done.

Definition at line 19 of file ChecklistTasksDone.hpp.

◆ markedAsNotDoneTaskIds

std::vector<std::int32_t> tgbotxx::ChecklistTasksDone::markedAsNotDoneTaskIds

Optional. Identifiers of the tasks that were marked as not done.

Definition at line 22 of file ChecklistTasksDone.hpp.


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