Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/rest/mod.ts>RestRequest

Discord API library for Deno
Go to Latest
interface RestRequest
Re-export
import { type RestRequest } from "https://deno.land/x/discordeno@17.0.0/rest/mod.ts";

Properties

url: string
method: RequestMethod
respond: (payload: RestRequestResponse) => unknown
reject: (payload: RestRequestRejection) => unknown