Skip to main content
Version: 0.37.112

RESTPostAPIChatInputApplicationCommandsJSONBody

Hierarchy

  • RESTPostAPIBaseApplicationCommandsJSONBody
    • RESTPostAPIChatInputApplicationCommandsJSONBody

Index

Properties

optionalcontexts

contexts?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<InteractionContextType>[]

optionaldefault_member_permissions

default_member_permissions?: null | string

optionaldefault_permission

default_permission?: boolean

description

description: string

optionaldescription_localizations

description_localizations?: null | AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Partial<Record<Locale, null | string>>>

optionaldm_permission

dm_permission?: boolean

optionalhandler

handler?: AppHandler | DiscordLaunchActivity

optionalintegration_types

integration_types?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<ApplicationIntegrationType>[]

name

name: string

optionalname_localizations

name_localizations?: null | AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Partial<Record<Locale, null | string>>>

optionalnsfw

nsfw?: boolean

optionaloptions

options?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<APIApplicationCommandOption>[]

optionaltype

type?: ChatInput