Skip to main content
Extremely Popular
Go to Latest
function getWebhookMessage
import { getWebhookMessage } from "https://deno.land/x/discordeno@17.2.0/helpers/webhooks/getWebhookMessage.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.