Table of Contents

Method DeleteMessagesAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

DeleteMessagesAsync(ulong, IEnumerable<ulong>, string)

Deletes multiple messages

public Task DeleteMessagesAsync(ulong channelId, IEnumerable<ulong> messageIds, string reason)

Parameters

channelId ulong

Channel ID

messageIds IEnumerable<ulong>

Message IDs

reason string

Reason these messages were deleted

Returns

Task