Type Alias CommandInteraction<Type, Cached>

CommandInteraction: Type extends typeof UserContextMenu
    ? UserContextMenuCommandInteraction<Cached>
    : Type extends typeof MessageContextMenu
        ? MessageContextMenuCommandInteraction<Cached>
        : Type extends typeof ChatInput
        | typeof ChatInputPlain
            ? ChatInputCommandInteraction<Cached>
            : Type extends typeof PrimaryEntryPoint
                ? ChatInputCommandInteraction<Cached>
                : Type extends typeof Button
                    ? ButtonInteraction<Cached>
                    : Type extends typeof StringSelect
                        ? StringSelectMenuInteraction<Cached>
                        : Type extends typeof UserSelect
                            ? UserSelectMenuInteraction<Cached>
                            : Type extends typeof RoleSelect
                                ? RoleSelectMenuInteraction<Cached>
                                : Type extends typeof MentionableSelect
                                    ? MentionableSelectMenuInteraction<Cached>
                                    : Type extends typeof ChannelSelect
                                        ? ChannelSelectMenuInteraction<(...)>
                                        : (...) extends (...) ? (...) : (...)

Type Parameters