Merge pull request #43 from xboston/fix-editMessageReplyMarkup
fix EditMessageReplyMarkupConfigbot-api-6.1
commit
ab63d49cc9
|
@ -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) {
|
||||
|
|
|
@ -423,8 +423,8 @@ func NewEditMessageReplyMarkup(chatID int64, messageID int, replyMarkup InlineKe
|
|||
BaseEdit: BaseEdit{
|
||||
ChatID: chatID,
|
||||
MessageID: messageID,
|
||||
ReplyMarkup: &replyMarkup,
|
||||
},
|
||||
ReplyMarkup: &replyMarkup,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue