Edit post object fields

edit_title(object, value)

edit_body(object, value)

edit_category_id(object, value)

edit_milestone_id(object, value)

private_message(object)

public_message(object)

Arguments

object

post object

value

new value to replace with

Value

updated post object

Details

When editing the body basecamp is expecting HTML.

To make it simpler to write you can write a simple markdown text and then convert it to html using markdownToHTML :

 html_text <- markdown::markdownToHTML(text = md_text,fragment.only = TRUE)

x will contain the html equivalent of value you can pass into edit_body

 new_message%>%
   edit_body(html_text)