Skip to content

AddStickerToCardAsync

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

Back to Sticker Features

Add a sticker to a card

Signature

/// <summary>
/// Add a sticker to a card
/// </summary>
/// <param name="cardId">Id of the Card</param>
/// <param name="sticker">The Sticker to add</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The new sticker</returns>
public async Task<Sticker> AddStickerToCardAsync(string cardId, Sticker sticker, CancellationToken cancellationToken = default) {...}

Examples

var cardId = "63c939a5cea0cb006dc9e9dd";

Sticker sticker = await _trelloClient.AddStickerToCardAsync(cardId, new Sticker(StickerDefaultImageId.Warning));
Clone this wiki locally