Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function deleteWebhookMessage
import { deleteWebhookMessage } from "https://deno.land/x/discordeno@17.0.0/helpers/webhooks/mod.ts";

Deletes a webhook message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
webhookId: BigString
  • The ID of the webhook to delete the message belonging to.
token: string
  • The webhook token, used to manage the webhook.
messageId: BigString
  • The ID of the message to delete.
optional
options: DeleteWebhookMessageOptions
  • The parameters for the deletion of the message.

Returns

Promise<void>