Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/model/channel/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub struct Message {
/// [`Interaction`]: crate::model::application::Interaction
pub interaction: Option<Box<MessageInteraction>>,
/// The thread that was started from this message, includes thread member object.
pub thread: Option<GuildChannel>,
pub thread: Option<Box<GuildChannel>>,
/// The components of this message
#[serde(default)]
pub components: Vec<ActionRow>,
Expand Down
2 changes: 1 addition & 1 deletion src/model/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ pub struct MessageUpdateEvent {
#[serde(default, deserialize_with = "deserialize_some")]
pub interaction: Option<Option<Box<MessageInteraction>>>,
#[serde(default, deserialize_with = "deserialize_some")]
pub thread: Option<Option<GuildChannel>>,
pub thread: Option<Option<Box<GuildChannel>>>,
pub components: Option<Vec<ActionRow>>,
pub sticker_items: Option<Vec<StickerItem>>,
pub position: Option<Option<u64>>,
Expand Down