Skip to content

GetAttachmentsOnCardAsync

Rasmus Wulff Jensen edited this page Nov 1, 2023 · 5 revisions

Back to Attachment Features

Get Attachments on a card

Signature

/// <summary>
/// Get Attachments on a card
/// </summary>
/// <param name="cardId">Id of the Card</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The Attachments</returns>
public async Task<List<Attachment>> GetAttachmentsOnCardAsync(string cardId, CancellationToken cancellationToken = default) {...}

Examples

var cardId = "63c939a5cea0cb006dc9e88c";

//Get attachments linked to a card
List<Attachment> attachments = await _trelloClient.GetAttachmentsOnCardAsync(cardId);
Clone this wiki locally