# InteractionFor

`type` in `gateway` · v0.2.1-next.0

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

## Declaration

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