# Function bindings::zaun::bot::messages::history

> `message.history`: up to `limit` (1-100) messages before `before`.

`zaun_bot::bindings::zaun::bot::messages::history` · Function

```rust
pub fn history(channel_id: &str, before: Option<u64>, limit: u32) -> Result<Vec<Message>, HostError>
```

`message.history`: up to `limit` (1-100) messages before `before`.

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/bindings/zaun/bot/messages/fn.history.html)
