# Enum command::object::InteractionType

> `type` of an interaction (Discord's numbers; `PING` is not used).

`zaun_community_protocol::command::object::InteractionType` · Enum

```rust
pub enum InteractionType { … }
```

`type` of an interaction (Discord's numbers; `PING` is not used).

## Variants

### `ApplicationCommand`

2: a slash, user or message command.

### `MessageComponent`

3: a button or select.

### `Autocomplete`

4: partial input of an autocomplete option.

### `ModalSubmit`

5: a submitted modal.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Deserialize<'de>`, `Eq`, `From<InteractionType>`, `Hash`, `PartialEq`, `Serialize`, `StructuralPartialEq`, `TryFrom<u8>`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/interaction/enum.InteractionType.html)
