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

Edits the original webhook message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
webhookId: BigString
  • The ID of the webhook to edit the original message of.
token: string
  • The webhook token, used to edit the message.
options: InteractionCallbackData & { threadId?: BigString; }
  • The parameters for the edit of the message.

Returns

Promise<Message>

An instance of the edited Message.