TaskParamsinterface
This composite type describes the parameters to be populated on creating a new task.
Properties (8)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| attachments⚓︎ | string[] | AttachmentParams[] | x | x | An array of the full paths to existing files to be attached OR an array of objects with the name and data of each attachment to be dynamically created and attached. |
| body⚓︎ | string | x | x | The body text of the task, formatted as a plain string. |
| cookie⚓︎ | string | x | x | The cookie of the task. |
| dueDate⚓︎ | Date | string | number | x | x | The due time of the task which is a Date object, string Date, or Unix timestamp number. |
| priority⚓︎ | "low" | "normal" | "high" | "normal" | x | The priority of the task. |
| reminderTime⚓︎ | Date | string | number | x | x | The reminder time of the task which is a Date object, string Date, or Unix timestamp number. |
| startDate⚓︎ | Date | string | number | x | x | The start date of the task which is a Date object, string Date, or Unix timestamp number. |
| subject⚓︎ | string | x | x | The subject field of the task. |