# Function command::object::component_attachments

> Every attachment the components show (thumbnails, gallery pictures, files), with the field naming it; each must be an attachment of the same message.

`zaun_community_protocol::command::object::component_attachments` · Function

```rust
pub fn component_attachments(components: &[Component]) -> Vec<(&'static str, AttachmentId)>
```

Every attachment the components show (thumbnails, gallery pictures, files), with the
field naming it; each must be an attachment of the same message.

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