mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Remove keyboad
method (typo, was fixed to keyboard in 0.2.2)
This commit is contained in:
parent
2c9a4208b7
commit
44c1cfd420
1 changed files with 0 additions and 11 deletions
|
@ -62,17 +62,6 @@ impl ReplyMarkup {
|
|||
pub fn force_reply() -> Self {
|
||||
Self::ForceReply(ForceReply::new())
|
||||
}
|
||||
|
||||
// FIXME(waffle): remove this method in the next minor version bump (0.3.0)
|
||||
#[doc(hidden)]
|
||||
#[deprecated = "This method has a typo in name. Use `ReplyMarkup::keyboard` instead."]
|
||||
pub fn keyboad<K>(keyboard: K) -> Self
|
||||
where
|
||||
K: IntoIterator,
|
||||
K::Item: IntoIterator<Item = KeyboardButton>,
|
||||
{
|
||||
Self::Keyboard(KeyboardMarkup::new(keyboard))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Reference in a new issue