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

Describes a service message about tasks added to a checklist. https://core.telegram.org/bots/api#checklisttasksadded. More...

#include <ChecklistTasksAdded.hpp>

Public Member Functions

 ChecklistTasksAdded ()=default
 
 ChecklistTasksAdded (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 to which the tasks were added.
 
std::vector< Ptr< ChecklistTask > > tasks
 List of tasks added to the checklist.
 

Detailed Description

Describes a service message about tasks added to a checklist. https://core.telegram.org/bots/api#checklisttasksadded.

Definition at line 10 of file ChecklistTasksAdded.hpp.

Constructor & Destructor Documentation

◆ ChecklistTasksAdded() [1/2]

tgbotxx::ChecklistTasksAdded::ChecklistTasksAdded ( )
default

◆ ChecklistTasksAdded() [2/2]

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

Definition at line 12 of file ChecklistTasksAdded.hpp.

Member Function Documentation

◆ fromJson()

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

Deserializes this object from JSON.

Definition at line 31 of file ChecklistTasksAdded.hpp.

◆ toJson()

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

Serializes this object to JSON.

Returns
JSON representation of this object

Definition at line 24 of file ChecklistTasksAdded.hpp.

Member Data Documentation

◆ checklistMessage

Ptr<Message> tgbotxx::ChecklistTasksAdded::checklistMessage

Optional. Message containing the checklist to which the tasks were added.

Definition at line 17 of file ChecklistTasksAdded.hpp.

◆ tasks

std::vector<Ptr<ChecklistTask> > tgbotxx::ChecklistTasksAdded::tasks

List of tasks added to the checklist.

Definition at line 20 of file ChecklistTasksAdded.hpp.


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