mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Small fixes
This commit is contained in:
parent
467477d38e
commit
9abb6d6884
2 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ pub struct PublicChatSupergroup {
|
|||
/// [`GetChat`].
|
||||
///
|
||||
/// [`GetChat`]: crate::payloads::GetChat
|
||||
pub location: ChatLocation,
|
||||
pub location: Option<ChatLocation>,
|
||||
}
|
||||
|
||||
struct PrivateChatKindVisitor;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue