Small fixes

This commit is contained in:
Waffle 2021-03-14 23:18:07 +03:00
parent 467477d38e
commit 9abb6d6884
2 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ pub struct PublicChatSupergroup {
/// [`GetChat`].
///
/// [`GetChat`]: crate::payloads::GetChat
pub location: ChatLocation,
pub location: Option<ChatLocation>,
}
struct PrivateChatKindVisitor;

View file

@ -375,7 +375,7 @@ mod tests {
"can_restrict_members":true,
"can_pin_messages":true,
"can_promote_members":true,
"is_anonymous":false,
"is_anonymous":false
}"#;
let expected = ChatMember {
user: User {