Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk
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';