Skip to main content
Module

x/discordeno/mod.ts>deleteWebhookMessage

Discord API library for Deno
Latest
function deleteWebhookMessage
import { deleteWebhookMessage } from "https://deno.land/x/discordeno@18.0.1/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>