twilight_model/gateway/payload/incoming/message_delete.rs
use crate::id::{
marker::{ChannelMarker, GuildMarker, MessageMarker},
Id,
};
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
pub struct MessageDelete {
pub channel_id: Id<ChannelMarker>,
#[serde(skip_serializing_if = "Option::is_none")]
pub guild_id: Option<Id<GuildMarker>>,
pub id: Id<MessageMarker>,
}