From b2addf5f91a4c2750c3f03aa22e1aab243e6db6d Mon Sep 17 00:00:00 2001 From: Amir Khazaie <733amir@gmail.com> Date: Mon, 15 Oct 2018 12:31:37 +0330 Subject: [PATCH] Fix backwards compatibility problem --- helpers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers.go b/helpers.go index b15b9f2..3dabe11 100644 --- a/helpers.go +++ b/helpers.go @@ -616,14 +616,13 @@ func NewEditMessageText(chatID int64, messageID int, text string) EditMessageTex } // NewEditMessageCaption allows you to edit the caption of a message. -func NewEditMessageCaption(chatID int64, messageID int, caption, parseMode string) EditMessageCaptionConfig { +func NewEditMessageCaption(chatID int64, messageID int, caption string) EditMessageCaptionConfig { return EditMessageCaptionConfig{ BaseEdit: BaseEdit{ ChatID: chatID, MessageID: messageID, }, Caption: caption, - ParseMode: parseMode, } }