mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix docs for KeyboardButtonRequestUsers
This commit is contained in:
parent
298df305f0
commit
c0f97fae0e
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue