-
-
Notifications
You must be signed in to change notification settings - Fork 5
GetCommentReactions
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
2 revisions
The reactions to a comment
/// <summary>
/// The reactions to a comment
/// </summary>
/// <param name="commentActionId">Id of the Comment (ActionId)</param>
/// <param name="cancellationToken">CancellationToken</param>
/// <returns>The Reactions</returns>
public async Task<List<CommentReaction>> GetCommentReactions(string commentActionId, CancellationToken cancellationToken = default)var cardId = "64e9df94130a9a30ed8d625e";
var comments = await _trelloClient.GetAllCommentsOnCardAsync(cardId);
foreach (TrelloAction comment in comments)
{
//Get Comment Reactions
List<CommentReaction> reactions = await TrelloClient.GetCommentReactions(comment.Id);
}If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')