diff --git a/src/objects.rs b/src/objects.rs index fdfaae9..65cdef7 100644 --- a/src/objects.rs +++ b/src/objects.rs @@ -1739,20 +1739,12 @@ pub enum ReactionType { #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Builder, Eq)] pub struct ReactionTypeEmoji { - #[builder(setter(into))] - #[serde(rename = "type")] - pub type_field: String, - #[builder(setter(into))] pub emoji: String, } #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Builder, Eq)] pub struct ReactionTypeCustomEmoji { - #[builder(setter(into))] - #[serde(rename = "type")] - pub type_field: String, - #[builder(setter(into))] pub custom_emoji: String, }