# IInteraction

Properties

| Parameter | Type                                                                                                         | Required | Description                                    |
| --------- | ------------------------------------------------------------------------------------------------------------ | -------- | ---------------------------------------------- |
| id        | string                                                                                                       | true     | ID of this command.                            |
| type      | [InteractionType](https://jeroenoboy.gitbook.io/slashdiscord-js/documentation/interaction/interactiontype)   | true     | The type of interaction.                       |
| data      | [InteractionData](https://jeroenoboy.gitbook.io/slashdiscord-js/documentation/interaction/interactiondata)   | true     | The data used by this interaction.             |
| guild     | [Discord.Guild](https://discord.js.org/#/docs/main/stable/class/Guild)                                       | true     | The guild this command has been executed in.   |
| channel   | [Discord.TextChannel](https://discord.js.org/#/docs/main/stable/class/TextChannel)                           | true     | The channel this command has been executed in. |
| member    | [Discord.GuildMember](https://discord.js.org/#/docs/main/stable/class/GuildMember)                           | true     | The member that executed this command.         |
| client    | [Discord.Client](https://discord.js.org/#/docs/main/stable/class/Client)                                     | true     | the client tis interaction uses.               |
| handler   | [SlashCommandHandler](https://jeroenoboy.gitbook.io/slashdiscord-js/documentation/class-slashcommandhandler) | true     | The command handler this interaction uses.     |
