export interface APIGuildIntegrationhttps://discord.com/developers/docs/resources/guild#integration-object
externalaccount : APIIntegrationAccount
Integration account informationSee https://discord.com/developers/docs/resources/guild#integration-account-object
optionalexternalapplication? : APIGuildIntegrationApplication
The bot/OAuth2 application for discord integrationsSee https://discord.com/developers/docs/resources/guild#integration-application-object**This field is not provided for discord bot integrations.**
optionalexternalenable_emoticons? : boolean
Whether emoticons should be synced for this integration (twitch only currently)**This field is not provided for discord bot integrations.**
externalenabled : boolean
Is this integration enabled
optionalexternalexpire_behavior? : IntegrationExpireBehavior
The behavior of expiring subscribers**This field is not provided for discord bot integrations.**See https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors
optionalexternalexpire_grace_period? : number
The grace period (in days) before expiring subscribers**This field is not provided for discord bot integrations.**
externalid : Snowflake
Integration id
externalname : string
Integration name
optionalexternalrevoked? : boolean
Has this integration been revoked**This field is not provided for discord bot integrations.**
optionalexternalrole_id? : Snowflake
ID that this integration uses for "subscribers"**This field is not provided for discord bot integrations.**
optionalexternalscopes? : OAuth2Scopes[]
The scopes the application has been authorized for
optionalexternalsubscriber_count? : number
How many subscribers this integration has**This field is not provided for discord bot integrations.**
optionalexternalsynced_at? : string
When this integration was last synced**This field is not provided for discord bot integrations.**
optionalexternalsyncing? : boolean
Is this integration syncing**This field is not provided for discord bot integrations.**
externaltype : APIGuildIntegrationType
Integration type
optionalexternaluser? : APIUser
User for this integration**Some older integrations may not have an attached user.**See https://discord.com/developers/docs/resources/user#user-object