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.
|
// of a message.
|
||||||
type EditMessageReplyMarkupConfig struct {
|
type EditMessageReplyMarkupConfig struct {
|
||||||
BaseEdit
|
BaseEdit
|
||||||
ReplyMarkup *InlineKeyboardMarkup
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config EditMessageReplyMarkupConfig) values() (url.Values, error) {
|
func (config EditMessageReplyMarkupConfig) values() (url.Values, error) {
|
||||||
|
|
|
@ -423,8 +423,8 @@ func NewEditMessageReplyMarkup(chatID int64, messageID int, replyMarkup InlineKe
|
||||||
BaseEdit: BaseEdit{
|
BaseEdit: BaseEdit{
|
||||||
ChatID: chatID,
|
ChatID: chatID,
|
||||||
MessageID: messageID,
|
MessageID: messageID,
|
||||||
},
|
|
||||||
ReplyMarkup: &replyMarkup,
|
ReplyMarkup: &replyMarkup,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue