20 std::vector<Ptr<ChecklistTask>>
tasks;
25 nl::json json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD_PTR(json, json_field, field)
#define OBJECT_SERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field)
#define OBJECT_DESERIALIZE_FIELD_PTR(json, json_field, field, optional)
#define OBJECT_DESERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field, optional)
Describes a service message about tasks added to a checklist. https://core.telegram....
std::vector< Ptr< ChecklistTask > > tasks
List of tasks added to the checklist.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
nl::json toJson() const
Serializes this object to JSON.
Ptr< Message > checklistMessage
Optional. Message containing the checklist to which the tasks were added.
ChecklistTasksAdded()=default
ChecklistTasksAdded(const nl::json &json)