Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type RESTGetAPIOAuth2CurrentAuthorizationResult } from "https://deno.land/x/discord_api_types@0.37.46/v8.ts";
Properties
application: Partial<APIApplication>
the current application
scopes: OAuth2Scopes[]
the scopes the user has authorized the application for
optional
user: APIUserthe user who has authorized, if the user has authorized with the identify
scope