Skip to main content
Module

x/discordeno/mod.ts>getWebhookMessage

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