I have a comment I would like to be able to modify but I am not sure how to process.
Here is what I've tried so far :
using Manatee.Trello;
public class MyClass
{
//identification is done beforehand as per Manatee.Trello's wiki
Card c = new Card(existingCardID);
foreach(Action comment in card.Comments)
{
comment.Data.Value="empty comment";
}
}
However, Action.Data.Value
only has get
capabilities. What is the correct way to update a comment data using this library?
Updated!
You'll likely get an error from Trello if the action isn't a comment.
I'll add a note in the wiki. I realize it's a bit hidden.
Edit... 2, I guess.
I've recently published Manatee.Trello v1.16.0 which resolves this bug. Use it as indicated above.