Learn R Programming

rtodoist (version 0.4.0)

add_comment: Add a comment to a task or project

Description

Add a comment to a task or project

Usage

add_comment(
  content,
  task_id = NULL,
  project_id = NULL,
  verbose = TRUE,
  token = get_todoist_api_token()
)

Value

id of the new comment

Arguments

content

content of the comment

task_id

id of the task (either task_id or project_id required)

project_id

id of the project (either task_id or project_id required)

verbose

boolean that make the function verbose

token

todoist API token

Examples

Run this code
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