# Struct command::message::History

> `message.history`.

`zaun_community_protocol::command::message::History` · Struct

```rust
pub struct History { … }
```

`message.history`.

SPEC: the spec does not say how `before` and `after` combine; when both are given this
crate requires `after < before`.

## Fields

### `before: Option<u64>`

Only messages with a lower `channel_seq`.

### `after: Option<u64>`

Only messages with a higher `channel_seq`.

### `limit: u32`

1–100.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/message/struct.History.html)
