# Struct command::object::InteractionMetadata

> `interaction_metadata` of a message that answers an interaction.

`zaun_community_protocol::command::object::InteractionMetadata` · Struct

```rust
pub struct InteractionMetadata { … }
```

`interaction_metadata` of a message that answers an interaction.

## Fields

### `interaction_id: InteractionId`

The interaction.

### `kind: InteractionType`

Its type.

### `name: Option<String>`

The command's name, for commands.

### `member_id: MemberId`

The invoker.

## Trait implementations

`Clone`, `Debug`, `Deserialize<'de>`, `Eq`, `PartialEq`, `Serialize`, `StructuralPartialEq`

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