Table of Contents

Method BulkDeleteTargetUsersAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

BulkDeleteTargetUsersAsync(IEnumerable<ulong>)

Removes multiple target users from an existing invite.

public Task BulkDeleteTargetUsersAsync(IEnumerable<ulong> userIds)

Parameters

userIds IEnumerable<ulong>

The IDs of the users to remove from the invite target users.

Returns

Task

Remarks

A maximum of 1000 users can be removed in a single request.

Exceptions

UnauthorizedException

Thrown when the client is not the creator of the invite and does not have the ManageGuild permission.