Interface RawIntegration

interface RawIntegration {
    account: IntegrationAccount;
    application?: RawIntegrationApplication;
    enable_emoticons?: boolean;
    enabled?: boolean;
    expire_behavior?: IntegrationExpireBehaviors;
    expire_grace_period?: number;
    id: string;
    name: string;
    revoked?: boolean;
    role_id?: string;
    scopes?: string[];
    subscriber_count?: number;
    synced_at?: string;
    syncing?: boolean;
    type: "twitch" | "youtube" | "discord" | "guild_subscription";
    user?: RawUser;
}

Properties

enable_emoticons?: boolean
enabled?: boolean
expire_behavior?: IntegrationExpireBehaviors
expire_grace_period?: number
id: string
name: string
revoked?: boolean
role_id?: string
scopes?: string[]
subscriber_count?: number
synced_at?: string
syncing?: boolean
type: "twitch" | "youtube" | "discord" | "guild_subscription"
user?: RawUser