fix EditMessageReplyMarkupConfig
parent
a2483eb98b
commit
890c908551
|
@ -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