# Struct bindings::zaun::bot::types::MessageEvent

> A message, and whether it is in a direct-message channel with the bot.

`zaun_bot::bindings::zaun::bot::types::MessageEvent` · Struct

```rust
pub struct MessageEvent { … }
```

A message, and whether it is in a direct-message channel with the bot.

## Fields

### `message: Message`

### `is_dm: bool`

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/bindings/zaun/bot/types/struct.MessageEvent.html)
