Fix more ReplyMarkup items in edits, finishes #43, closes #47.

bot-api-6.1
Syfaro 2016-04-27 08:00:19 -05:00
parent 7bf755956c
commit bf6e165e92
1 changed files with 1 additions and 3 deletions

View File

@ -560,7 +560,6 @@ type EditMessageTextConfig struct {
Text string
ParseMode string
DisableWebPagePreview bool
ReplyMarkup *InlineKeyboardMarkup
}
func (config EditMessageTextConfig) values() (url.Values, error) {
@ -580,8 +579,7 @@ func (config EditMessageTextConfig) method() string {
// EditMessageCaptionConfig allows you to modify the caption of a message.
type EditMessageCaptionConfig struct {
BaseEdit
Caption string
ReplyMarkup *InlineKeyboardMarkup
Caption string
}
func (config EditMessageCaptionConfig) values() (url.Values, error) {