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
ulongChannel ID
messageIds
IEnumerable<ulong>Message IDs
reason
stringReason these messages were deleted
Returns
- Task