powered by
Add a comment to a task or project
add_comment( content, task_id = NULL, project_id = NULL, verbose = TRUE, token = get_todoist_api_token() )
id of the new comment
content of the comment
id of the task (either task_id or project_id required)
id of the project (either task_id or project_id required)
boolean that make the function verbose
todoist API token
if (FALSE) { add_comment(content = "This is a comment", task_id = "12345") add_comment(content = "Project comment", project_id = "67890") }
Run the code above in your browser using DataLab