-
-
Notifications
You must be signed in to change notification settings - Fork 5
MirrorCardAsync
Rasmus Wulff Jensen edited this page Jan 19, 2025
·
2 revisions
Mirror a Card (New Trello Feature introduced January 2025)
/// <summary>
/// Mirror a Card
/// </summary>
/// <param name="options">Parameters for create the mirror</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The Mirror Card</returns>
public async Task<Card> MirrorCardAsync(MirrorCardOptions options, CancellationToken cancellationToken = default)var sourceCardId = "67632719612da6c1f0102e79";
var targetListId = "644d07374e0066a7b90eeddb";
var position = NamedPosition.Top;
var mirrorOptions = new MirrorCardOptions
{
SourceCardId = sourceCardId,
TargetListId = targetListId,
NamedPosition = NamedPosition.Bottom
};
Card mirrorCardReference = await client.MirrorCardAsync(mirrorOptions);If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')