Skip to content

Commit

Permalink
Fix status for Banned (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaytsev authored Jul 9, 2022
1 parent 8d85180 commit fba3957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub enum ChatMember {
Restricted(ChatMemberRestricted),
#[serde(rename = "left")]
Left(ChatMemberLeft),
#[serde(rename = "banned")]
#[serde(rename = "kicked")]
Banned(ChatMemberBanned),
}

Expand Down

0 comments on commit fba3957

Please sign in to comment.