AddCommentArgs
type AddCommentArgs = {
attachment?: | {
fileName?: string;
fileType?: string;
fileUrl: string;
resourceType?: string;
}
| null;
content: string;
uidsToNotify?: string[];
} & RequireExactlyOne<{
projectId?: string;
taskId?: string;
}>;
Arguments for creating a new comment.
Type Declaration
| Name | Type |
|---|---|
attachment? | | { fileName?: string; fileType?: string; fileUrl: string; resourceType?: string; } | null |
content | string |
uidsToNotify? | string[] |
See
https://developer.todoist.com/api/v1/#tag/Comments/operation/create_comment_api_v1_comments_post