# Function command::object::check_modal

> A modal (`MODAL` response): `custom_id`, `title` 1–45 and 1–5 labels or text displays.

`zaun_community_protocol::command::object::check_modal` · Function

```rust
pub fn check_modal(custom_id: &str, title: &str, components: &[Component]) -> Result<(), BodyError>
```

A modal (`MODAL` response): `custom_id`, `title` 1–45 and 1–5 labels or text displays.

# Errors
As `check_message_components`.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/component/check/fn.check_modal.html)
