Table of Contents

Method DeleteMessageAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

DeleteMessageAsync(ulong, ulong, string)

Deletes a message

public Task DeleteMessageAsync(ulong channelId, ulong messageId, string reason)

Parameters

channelId ulong

Channel ID

messageId ulong

Message ID

reason string

Why this message was deleted

Returns

Task