Go to Latest
function getWebhookMessage
import { getWebhookMessage } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";

Gets a webhook message by its ID.

Parameters

bot: Bot
  • The bot instance to use to make the request.
webhookId: BigString
  • The ID of the webhook to get a message of.
token: string
  • The webhook token, used to get webhook messages.
messageId: BigString
  • the ID of the webhook message to get.
optional
options: GetWebhookMessageOptions
  • The parameters for the fetching of the message.

Returns

Promise<Message>

An instance of Message.