Skip to content

GetAllCommentsOnCardAsync

Rasmus Wulff Jensen edited this page May 29, 2023 · 8 revisions

Back to Comments Features

Get All Comments on a Card (if you only wish the latest comments use GetPagedCommentsOnCardAsync instead)

Signature

/// <summary>
/// Get All Comments on a Card
/// </summary>
/// <param name="cardId">Id of Card</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>List of Comments</returns>
public async Task<List<TrelloAction>> GetAllCommentsOnCardAsync(string cardId, CancellationToken cancellationToken = default) {...}

Examples

var cardId = "63c939a5cea0cb006dc9e9dd";

List<TrelloAction> allCommentsOnCardAsync = await _trelloClient.GetAllCommentsOnCardAsync(cardId);

See Also

Clone this wiki locally