Data about a checklist.
OptionalentitiesSpecial entities that appear in the checklist title
OptionalothersTrue, if users other than the creator of the list can add tasks to the list
OptionalothersTrue, if users other than the creator of the list can mark tasks as done or not done
Collection of tasks in the checklist
Title of the checklist
The client that instantiated this
Get completed tasks
Get number of completed tasks
Get pending tasks
Get total number of tasks
Protected_Protected_ProtectedPatches the current instance with new data
The data to patch the instance with
The patched data
Protected_ProtectedUpdates the current instance with new data and returns a clone of the updated instance
The data to update the instance with
A clone of the updated instance
Makes the class iterable, returning each check task list
Flatten an object. Any properties that are collections will get converted to an array of keys.
OptionalpropsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Returns the id instance Chat, User, ChatMember and other
The client that instantiated this