Skip to content

Struct event::MessageUpdated

zaun_community_protocol::event::MessageUpdated · Struct

pub struct MessageUpdated { … }

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

The message.

New content.

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

As embeds, for components.

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

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

Edit time, ms.

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

Full rustdoc page