# Struct ModalOpen

> A bot asks this member to fill in a modal; submit it with `Channel::submit_modal` and `interaction` as the modal id.

`zaun_client::ModalOpen` · Struct

```rust
pub struct ModalOpen { … }
```

A bot asks this member to fill in a modal; submit it with
`Channel::submit_modal` and `interaction` as the modal id.

## Fields

### `channel: Option<Channel>`

Where the interaction happened.

### `interaction: InteractionId`

The interaction that opened it.

### `custom_id: String`

The modal's `custom_id`.

### `title: String`

Its title.

### `components: Vec<Component>`

Labels and text displays.

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/bots/events/struct.ModalOpen.html)
