From bf6e165e92e6da5dd62b859f8397f7c8864e4b04 Mon Sep 17 00:00:00 2001 From: Syfaro Date: Wed, 27 Apr 2016 08:00:19 -0500 Subject: [PATCH] Fix more ReplyMarkup items in edits, finishes #43, closes #47. --- configs.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configs.go b/configs.go index af398cc0..85310bf3 100644 --- a/configs.go +++ b/configs.go @@ -560,7 +560,6 @@ type EditMessageTextConfig struct { Text string ParseMode string DisableWebPagePreview bool - ReplyMarkup *InlineKeyboardMarkup } func (config EditMessageTextConfig) values() (url.Values, error) { @@ -580,8 +579,7 @@ func (config EditMessageTextConfig) method() string { // EditMessageCaptionConfig allows you to modify the caption of a message. type EditMessageCaptionConfig struct { BaseEdit - Caption string - ReplyMarkup *InlineKeyboardMarkup + Caption string } func (config EditMessageCaptionConfig) values() (url.Values, error) {