Fix docs for KeyboardButtonRequestUsers

This commit is contained in:
Сырцев Вадим Игоревич 2024-07-18 18:47:51 +03:00 committed by Andrey Brusnik
parent 298df305f0
commit c0f97fae0e
No known key found for this signature in database
GPG key ID: D33232F28CFF442C

View file

@ -31,7 +31,7 @@ pub struct KeyboardButtonRequestUsers {
} }
impl KeyboardButtonRequestUsers { impl KeyboardButtonRequestUsers {
/// Creates a new [`KeyboardButtonRequestUser`]. /// Creates a new [`KeyboardButtonRequestUsers`].
pub fn new(request_id: i32) -> Self { pub fn new(request_id: i32) -> Self {
Self { request_id, user_is_bot: None, user_is_premium: None, max_quantity: 1 } Self { request_id, user_is_bot: None, user_is_premium: None, max_quantity: 1 }
} }