Data about a task in a checklist.
OptionalcompletedUser that completed the task; omitted if the task wasn't completed
OptionalcompletionPoint in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed
OptionalentitiesSpecial entities that appear in the task text
Unique identifier of the task
Text of the task
The client that instantiated this
Date the task was completed
Return the timestamp task was completed, in milliseconds
True if the task is completed
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
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