# InteractionFor

`type` in `gateway` · v0.1.0-next.3

<https://docs.seedcord.org/packages/gateway/0.1.0-next.3/types/interaction-for>

## Declaration

```ts
type InteractionFor<
    Kind extends ContextMenuKind,
    Cache extends CacheType
> = Kind extends ApplicationCommandType.User
    ? UserContextMenuCommandInteraction<Cache>
    : MessageContextMenuCommandInteraction<Cache>;
```
