# Struct command::object::Thumbnail

> Type 11.

`zaun_community_protocol::command::object::Thumbnail` · Struct

```rust
pub struct Thumbnail { … }
```

Type 11.

## Fields

### `id: Option<u32>`

Unique in the message.

### `media: AttachmentId`

An image attachment of the same message.

### `description: Option<String>`

Alt text, ≤ 1 024 scalars.

### `spoiler: bool`

Blurred until clicked.

## Trait implementations

`Clone`, `Debug`, `Deserialize<'de>`, `Eq`, `PartialEq`, `Serialize`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/component/kinds/layout/struct.Thumbnail.html)
