Skip to main content

SlashCommandInput

type

The fields you write for a chat slash command. The `kind` discriminator is added by slashCommand.

type SlashCommandInput<TId extends string, TResult = unknown> = SlashCommandFields<SlashCommand<TId, TResult>>

Import

import { SlashCommandInput } from '@modular/sdk';