fix EditMessageReplyMarkupConfig

bot-api-6.1
boston 2016-04-19 12:19:36 +05:00
parent a2483eb98b
commit 890c908551
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,
},
}
}