mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Fix the docs
This commit is contained in:
parent
b7b6cd988c
commit
32cab96af5
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ pub struct InlineKeyboardMarkup {
|
|||
/// "text".to_string(),
|
||||
/// "http://url.com".to_string(),
|
||||
/// );
|
||||
/// let keyboard = InlineKeyboardMarkup::new().append_row(vec![url_button]);
|
||||
/// let keyboard = InlineKeyboardMarkup::default().append_row(vec![url_button]);
|
||||
/// ```
|
||||
impl InlineKeyboardMarkup {
|
||||
pub fn append_row(mut self, buttons: Vec<InlineKeyboardButton>) -> Self {
|
||||
|
|
Loading…
Add table
Reference in a new issue