27 nl::json json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD_PTR(json, json_field, field)
#define OBJECT_DESERIALIZE_FIELD_PTR(json, json_field, field, optional)
#define OBJECT_SERIALIZE_FIELD(json, json_field, field)
Available objects: https://core.telegram.org/bots/api#available-types.
#define OBJECT_DESERIALIZE_FIELD(json, json_field, field, default_value, optional)
Deserialize.
Describes a service message about checklist tasks marked as done or not done. https://core....
std::vector< std::int32_t > markedAsDoneTaskIds
Optional. Identifiers of the tasks that were marked as done.
nl::json toJson() const
Serializes this object to JSON.
std::vector< std::int32_t > markedAsNotDoneTaskIds
Optional. Identifiers of the tasks that were marked as not done.
Ptr< Message > checklistMessage
Optional. Message containing the checklist whose tasks were marked as done or not done....
ChecklistTasksDone(const nl::json &json)
ChecklistTasksDone()=default
void fromJson(const nl::json &json)
Deserializes this object from JSON.