Skip to main content
Version: 0.37.112

RESTPostAPIContextMenuApplicationCommandsJSONBody

Hierarchy

  • RESTPostAPIBaseApplicationCommandsJSONBody
    • RESTPostAPIContextMenuApplicationCommandsJSONBody

Index

Properties

optionalcontexts

contexts?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<InteractionContextType>[]

optionaldefault_member_permissions

default_member_permissions?: null | string

optionaldefault_permission

default_permission?: boolean

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>[]

type

type: User | Message