Skip to main content

DiscordEventWebhookApplicationAuthorizedBody

Documentation


Documentation / @discordeno/types / DiscordEventWebhookApplicationAuthorizedBody

Interface: DiscordEventWebhookApplicationAuthorizedBody

Defined in: discord/webhookEvents.ts:81

https://docs.discord.com/developers/events/webhook-events#application-authorized-application-authorized-structure

Properties

guild?

optional guild?: DiscordGuild

Defined in: discord/webhookEvents.ts:89

Server which app was authorized for (when integration type is 0)


integration_type?

optional integration_type?: DiscordApplicationIntegrationType

Defined in: discord/webhookEvents.ts:83

Installation context for the authorization. Either guild (0) if installed to a server or user (1) if installed to a user's account


scopes

scopes: OAuth2Scope[]

Defined in: discord/webhookEvents.ts:87

List of scopes the user authorized


user

user: DiscordUser

Defined in: discord/webhookEvents.ts:85

User who authorized the app