Interface RESTOAuthApplication

interface RESTOAuthApplication {
    approximate_guild_count?: number;
    bot_public?: boolean;
    bot_require_code_grant?: boolean;
    cover_image: string;
    custom_install_url?: string;
    description: string;
    flags: number;
    guild?: RawOAuthGuild;
    guild_id?: string;
    hook: boolean;
    icon: null | string;
    id: string;
    install_params: InstallParams;
    integration_types: ApplicationIntegrationTypes[];
    integration_types_config: Partial<Record<"0" | "1", RawApplicationIntegrationConfig>>;
    interactions_endpoint_url?: null | string;
    name: string;
    owner: RawUser;
    primary_sku_id?: string;
    privacy_policy_url?: string;
    redirect_uris?: string[];
    role_connections_verification_url?: null | string;
    rpc_origins: string[];
    slug?: string;
    tags?: string[];
    team?: null | RawTeam;
    terms_of_service_url?: string;
    type: null | number;
    verify_key: string;
}

Hierarchy (view full)

  • WithRequired<RawApplication, "cover_image" | "flags" | "owner" | "rpc_origins" | "install_params" | "integration_types" | "integration_types_config">
    • RESTOAuthApplication

Properties

approximate_guild_count?: number
bot_public?: boolean
bot_require_code_grant?: boolean
cover_image: string
custom_install_url?: string
description: string
flags: number
guild_id?: string
hook: boolean
icon: null | string
id: string
install_params: InstallParams
integration_types: ApplicationIntegrationTypes[]
integration_types_config: Partial<Record<"0" | "1", RawApplicationIntegrationConfig>>
interactions_endpoint_url?: null | string
name: string
owner: RawUser
primary_sku_id?: string
privacy_policy_url?: string
redirect_uris?: string[]
role_connections_verification_url?: null | string
rpc_origins: string[]
slug?: string
tags?: string[]
team?: null | RawTeam
terms_of_service_url?: string
type: null | number
verify_key: string