Interface ChecklistTask

Describes a task in a checklist.

interface ChecklistTask {
    @type: "checklistTask";
    completed_by_user_id: number;
    completion_date: number;
    id: number;
    text: FormattedText;
}

Properties

@type: "checklistTask"
completed_by_user_id: number

Identifier of the user that completed the task; 0 if the task isn't completed.

completion_date: number

Point in time (Unix timestamp) when the task was completed; 0 if the task isn't completed.

id: number

Unique identifier of the task.

Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Url, EmailAddress, Mention, Hashtag, Cashtag and PhoneNumber entities.