# Function command::attachment::caption

> The caption of the SimpleX file that carries attachment `id`, either way.

`zaun_community_protocol::command::attachment::caption` · Function

```rust
pub fn caption(id: AttachmentId) -> String
```

The caption of the SimpleX file that carries attachment `id`, either way.

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