diff --git a/configs.go b/configs.go index 64a88e4..af398cc 100644 --- a/configs.go +++ b/configs.go @@ -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) { diff --git a/helpers.go b/helpers.go index 6af3e65..5b142d9 100644 --- a/helpers.go +++ b/helpers.go @@ -423,8 +423,8 @@ func NewEditMessageReplyMarkup(chatID int64, messageID int, replyMarkup InlineKe BaseEdit: BaseEdit{ ChatID: chatID, MessageID: messageID, + ReplyMarkup: &replyMarkup, }, - ReplyMarkup: &replyMarkup, } }