ChecklistTask
Describes a task in a checklist.
fields
| field | type | required | description |
|---|---|---|---|
id | number | required | Unique identifier of the task |
text | string | required | Text of the task |
text_entities | MessageEntity[] | optional | Optional. Special entities that appear in the task text |
completed_by_user | User | optional | Optional. User that completed the task; omitted if the task wasn't completed by a user |
completed_by_chat | Chat | optional | Optional. Chat that completed the task; omitted if the task wasn't completed by a chat |
completion_date | number | optional | Optional. Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed |
import
import type { ChecklistTask } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#checklisttask