Skip to content

Commit

Permalink
Remove "status" from ChatMemberRestricted (#165)
Browse files Browse the repository at this point in the history
Fixes decoding error that happens decoding an update that contains ChatMemberRestricted
  • Loading branch information
swbartosz authored Apr 26, 2024
1 parent 23cc358 commit f3b6f90
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,6 @@ pub struct ChatMemberMember {

#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Builder)]
pub struct ChatMemberRestricted {
#[builder(setter(into))]
pub status: String,

pub user: User,

pub is_member: bool,
Expand Down

0 comments on commit f3b6f90

Please sign in to comment.