all repos — telegram-bot-api @ ab63d49cc925dfd42088efb03c558b99263c248c

Golang bindings for the Telegram Bot API

Merge pull request #43 from xboston/fix-editMessageReplyMarkup

fix EditMessageReplyMarkupConfig
Syfaro syfaro@foxpaw.in
Tue, 19 Apr 2016 07:40:08 -0500
commit

ab63d49cc925dfd42088efb03c558b99263c248c

parent

a2483eb98b4c06e05105e15642e1dff45af5fafa

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

jump to
M configs.goconfigs.go

@@ -600,7 +600,6 @@ // EditMessageReplyMarkupConfig allows you to modify the reply markup

// of a message. type EditMessageReplyMarkupConfig struct { BaseEdit - ReplyMarkup *InlineKeyboardMarkup } func (config EditMessageReplyMarkupConfig) values() (url.Values, error) {
M helpers.gohelpers.go

@@ -423,8 +423,8 @@ return EditMessageReplyMarkupConfig{

BaseEdit: BaseEdit{ ChatID: chatID, MessageID: messageID, + ReplyMarkup: &replyMarkup, }, - ReplyMarkup: &replyMarkup, } }