所以,我正在制作一个集成了Trello板的不和谐机器人。我的目标是让机器人添加一张卡,然后用卡的id进行响应。我发现了Trello.card.getId(),但它似乎是一种不同的语言,并返回getId()不是一个函数。创建函数的完整代码: Trello.card.create(data).then(function(response){
console.log('Trello card has been added;
我使用的是dillenmeister的Trello.Net API包装器,我看到从卡上移除附件是几个月前添加的,但我使用的调用(Trello.Cards.RemoveAttachment())调用了CardId我已经知道如何创建一个CardId (new CardID(Card.ID)),但是我不知道如何创建它正在寻找的IAttachmentID。