-
Notifications
You must be signed in to change notification settings - Fork 4
AddMembersToCardAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
3 revisions
Add one or more Members to a Card
/// <summary>
/// Add one or more Members to a Card
/// </summary>
/// <param name="cardId">Id of the Card</param>
/// <param name="memberIdsToAdd">One or more Ids of Members to add</param>
public async Task<Card> AddMembersToCardAsync(string cardId, CancellationToken cancellationToken = default, params string[] memberIdsToAdd) {...}
var cardId = "63c939a5cea0cb006dc9e9dd";
var memberId1 = "63d1239e857afaa8b003c633";
var memberId2 = "543d123923f544faa8b003c644";
Card cardWithAddedMembers = await _trelloClient.AddMembersToCardAsync(cardId, memberId1, memberId2);
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')