all repos — telegram-bot-api @ b2addf5f91a4c2750c3f03aa22e1aab243e6db6d

Golang bindings for the Telegram Bot API

Fix backwards compatibility problem
Amir Khazaie 733amir@gmail.com
Mon, 15 Oct 2018 12:31:37 +0330
commit

b2addf5f91a4c2750c3f03aa22e1aab243e6db6d

parent

fad189563ccd69afa3ecb4abed0faf425e3efc6a

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M helpers.gohelpers.go

@@ -616,14 +616,13 @@ }

} // 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, } }