diff --git a/src/types/reply_markup.rs b/src/types/reply_markup.rs index 66546a5e..cf95bad6 100644 --- a/src/types/reply_markup.rs +++ b/src/types/reply_markup.rs @@ -15,7 +15,7 @@ pub enum ReplyMarkup { impl From for ReplyMarkup { fn from(markup: InlineKeyboardMarkup) -> Self { - ReplyMarkup::Inline(markup) + ReplyMarkup::InlineKeyboardMarkup(markup) } }