Skip to main content

DiscordEventWebhookApplicationAuthorizedBody

@discordeno/bot


Documentation / @discordeno/bot / DiscordEventWebhookApplicationAuthorizedBody

Interface: DiscordEventWebhookApplicationAuthorizedBody

Defined in: packages/types/dist/types/discord.d.ts:3589

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

Properties

guild?

optional guild: DiscordGuild

Defined in: packages/types/dist/types/discord.d.ts:3597

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


integration_type?

optional integration_type: DiscordApplicationIntegrationType

Defined in: packages/types/dist/types/discord.d.ts:3591

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: packages/types/dist/types/discord.d.ts:3595

List of scopes the user authorized


user

user: DiscordUser

Defined in: packages/types/dist/types/discord.d.ts:3593

User who authorized the app