Skip to content

Commit

Permalink
remove type fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Dec 30, 2023
1 parent 4e4ce59 commit 3c46562
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 3c46562

Please sign in to comment.