# Function command::object::check_pictures

> Every picture an embed shows (`image`, `thumbnail`, `author.icon`, `footer.icon`) is one of the message's `attachments`, so it travels the attachment path like any file and nobody 

`zaun_community_protocol::command::object::check_pictures` · Function

```rust
pub fn check_pictures(embeds: &[Embed], attachments: &[AttachmentId]) -> Result<(), BodyError>
```

Every picture an embed shows (`image`, `thumbnail`, `author.icon`, `footer.icon`) is one of
the message's `attachments`, so it travels the attachment path like any file and nobody
fetches it from elsewhere.

# Errors
`BAD_REQUEST` naming the field of the first picture that is not.

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