Skip to main content
Version: 0.37.105

RESTPostAPIContextMenuApplicationCommandsJSONBody

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Hierarchy

  • RESTPostAPIBaseApplicationCommandsJSONBody
    • RESTPostAPIContextMenuApplicationCommandsJSONBody

Index

Properties

optionaldefault_permission

default_permission?: boolean

Whether the command is enabled by default when the app is added to a guild

If missing, this property should be assumed as true

name

name: string

1-32 character name; CHAT_INPUT command names must be all lowercase matching ^[\w-]{1,32}$

optionaloptions

options?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<APIApplicationCommandOption>[]

The parameters for the CHAT_INPUT command, max 25

type

type: User | Message