File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ pub struct Message {
112112 /// [`Interaction`]: crate::model::application::Interaction
113113 pub interaction : Option < Box < MessageInteraction > > ,
114114 /// The thread that was started from this message, includes thread member object.
115- pub thread : Option < GuildChannel > ,
115+ pub thread : Option < Box < GuildChannel > > ,
116116 /// The components of this message
117117 #[ serde( default ) ]
118118 pub components : Vec < ActionRow > ,
Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ pub struct MessageUpdateEvent {
534534 #[ serde( default , deserialize_with = "deserialize_some" ) ]
535535 pub interaction : Option < Option < Box < MessageInteraction > > > ,
536536 #[ serde( default , deserialize_with = "deserialize_some" ) ]
537- pub thread : Option < Option < GuildChannel > > ,
537+ pub thread : Option < Option < Box < GuildChannel > > > ,
538538 pub components : Option < Vec < ActionRow > > ,
539539 pub sticker_items : Option < Vec < StickerItem > > ,
540540 pub position : Option < Option < u64 > > ,
You can’t perform that action at this time.
0 commit comments