export interface APIGuildIntegration
https://discord.com/developers/docs/resources/guild#integration-object
externalAPIIntegrationAccount account :
Integration account informationSee https://discord.com/developers/docs/resources/guild#integration-account-object
optionalexternalAPIGuildIntegrationApplication application? :
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.**
optionalexternalboolean enable_emoticons? :
Whether emoticons should be synced for this integration (twitch
only currently)**This field is not provided for discord
bot integrations.**
externalboolean enabled :
Is this integration enabled
optionalexternalIntegrationExpireBehavior expire_behavior? :
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
optionalexternalnumber expire_grace_period? :
The grace period (in days) before expiring subscribers**This field is not provided for discord
bot integrations.**
externalSnowflake id :
Integration id
externalstring name :
Integration name
optionalexternalboolean revoked? :
Has this integration been revoked**This field is not provided for discord
bot integrations.**
optionalexternalSnowflake role_id? :
ID that this integration uses for "subscribers"**This field is not provided for discord
bot integrations.**
optionalexternalOAuth2Scopes[] scopes? :
The scopes the application has been authorized for
optionalexternalnumber subscriber_count? :
How many subscribers this integration has**This field is not provided for discord
bot integrations.**
optionalexternalstring synced_at? :
When this integration was last synced**This field is not provided for discord
bot integrations.**
optionalexternalboolean syncing? :
Is this integration syncing**This field is not provided for discord
bot integrations.**
externalAPIGuildIntegrationType type :
Integration type
optionalexternalAPIUser user? :
User for this integration**Some older integrations may not have an attached user.**See https://discord.com/developers/docs/resources/user#user-object