adiscord_types/gateway/
channel.rs

1use serde::Deserialize;
2use crate::Snowflake;
3
4#[derive(Deserialize, Debug)]
5pub struct PinsUpdate {
6    /// ID of the guild
7    pub guild_id: Option<Snowflake>,
8
9    /// ID of the channel
10    pub channel_id: Snowflake,
11
12    /// Time at which the most recent pinned message was pinned
13    pub last_pin_timestamp: Option<String>,
14}