# Struct event::MessageUpdated

> `message.updated`: `{message_id, content, embeds?, components?, flags?, mentions?, edited_at}`.

`zaun_community_protocol::event::MessageUpdated` · Struct

```rust
pub struct MessageUpdated { … }
```

`message.updated`: `{message_id, content, embeds?, components?, flags?, mentions?, edited_at}`.

## Fields

### `message_id: MessageId`

The message.

### `content: String`

New content.

### `embeds: Option<Vec<Embed>>`

As in `message.edit`: absent when the edit left the embeds unchanged, else the
message's new embeds (`[]` when the edit removed them all).

### `components: Option<Vec<Component>>`

As `embeds`, for components.

### `flags: Option<u32>`

The new flags, when they changed (a deferred reply loses `LOADING`).

### `mentions: Option<Mentions>`

As `embeds`, for mentions: the ones the host honoured, absent when the edit left them
unchanged.

### `edited_at: u64`

Edit time, ms.

## Trait implementations

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

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