Method BulkAddTargetUsersAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
BulkAddTargetUsersAsync(IEnumerable<ulong>)
Adds multiple target users to an existing invite.
public Task BulkAddTargetUsersAsync(IEnumerable<ulong> userIds)
Parameters
userIdsIEnumerable<ulong>The IDs of the users to add to the invite target users.
Returns
Remarks
A maximum of 1000 users can be added in a single request.
Exceptions
- UnauthorizedException
Thrown when the client is not the creator of the invite and does not have the ManageGuild permission.