From c2fb9377638bf8b4f2d426b45e6f590efafd5308 Mon Sep 17 00:00:00 2001 From: p0lunin Date: Thu, 9 Jan 2020 20:59:59 +0200 Subject: [PATCH] rename variants ReplyMarkup --- src/types/reply_markup.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/reply_markup.rs b/src/types/reply_markup.rs index aa21a7ba..00e3decf 100644 --- a/src/types/reply_markup.rs +++ b/src/types/reply_markup.rs @@ -7,8 +7,8 @@ use crate::types::{ #[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ReplyMarkup { - Inline(InlineKeyboardMarkup), - Reply(ReplyKeyboardMarkup), + InlineKeyboardMarkup(InlineKeyboardMarkup), + ReplyKeyboardMarkup(ReplyKeyboardMarkup), ReplyKeyboardRemove(ReplyKeyboardRemove), ForceReply(ForceReply), }