-
Notifications
You must be signed in to change notification settings - Fork 4
AddStickerToCardAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
2 revisions
Add a sticker to a card
/// <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) {...}
var cardId = "63c939a5cea0cb006dc9e9dd";
Sticker sticker = await _trelloClient.AddStickerToCardAsync(cardId, new Sticker(StickerDefaultImageId.Warning));
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')