Merge pull request #43 from xboston/fix-editMessageReplyMarkup

fix EditMessageReplyMarkupConfig
bot-api-6.1
Syfaro 2016-04-19 07:40:08 -05:00
commit ab63d49cc9
2 changed files with 1 additions and 2 deletions

View File

@ -600,7 +600,6 @@ func (config EditMessageCaptionConfig) method() string {
// of a message.
type EditMessageReplyMarkupConfig struct {
BaseEdit
ReplyMarkup *InlineKeyboardMarkup
}
func (config EditMessageReplyMarkupConfig) values() (url.Values, error) {

View File

@ -423,8 +423,8 @@ func NewEditMessageReplyMarkup(chatID int64, messageID int, replyMarkup InlineKe
BaseEdit: BaseEdit{
ChatID: chatID,
MessageID: messageID,
ReplyMarkup: &replyMarkup,
},
ReplyMarkup: &replyMarkup,
}
}