Interface RawApplicationCommand

interface RawApplicationCommand {
    application_id: string;
    contexts: InteractionContextTypes[];
    default_member_permissions: null | string;
    description: string;
    description_localizations?: null | Partial<Record<Locale, string>>;
    description_localized?: string;
    dm_permission?: boolean;
    guild_id?: string;
    id: string;
    integration_types: ApplicationIntegrationTypes[];
    name: string;
    name_localizations?: null | Partial<Record<Locale, string>>;
    name_localized?: string;
    nsfw?: boolean;
    options?: RawApplicationCommandOption[];
    type: ApplicationCommandTypes;
    version: string;
}

Properties

application_id: string
default_member_permissions: null | string
description: string
description_localizations?: null | Partial<Record<Locale, string>>
description_localized?: string
dm_permission?: boolean
guild_id?: string
id: string
integration_types: ApplicationIntegrationTypes[]
name: string
name_localizations?: null | Partial<Record<Locale, string>>
name_localized?: string
nsfw?: boolean
version: string