我有一个评论,我希望能够修改,但我不确定如何处理。
这是我到目前为止尝试过的:
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";
}
}但是,Action.Data.Value只有get功能。使用这个库更新评论数据的正确方法是什么?
发布于 2017-02-20 12:01:58
更新!
action.Data.Text = "updated comment";如果动作不是注释,你很可能会从Trello得到一个错误。
我会在维基上添加一个注释。我知道这有点隐蔽。
编辑...我想是2个。
我最近发布了Manatee.Trello v1.16.0,它解决了这个问题。按照上面的说明使用它。
https://stackoverflow.com/questions/42302234
复制相似问题