Skip to content

Commit

Permalink
Fix more ReplyMarkup items in edits, finishes #43, closes #47.
Browse files Browse the repository at this point in the history
  • Loading branch information
Syfaro committed Apr 27, 2016
1 parent 7bf7559 commit bf6e165
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configs.go
Expand Up @@ -560,7 +560,6 @@ type EditMessageTextConfig struct {
Text string
ParseMode string
DisableWebPagePreview bool
ReplyMarkup *InlineKeyboardMarkup
}

func (config EditMessageTextConfig) values() (url.Values, error) {
Expand All @@ -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) {
Expand Down

0 comments on commit bf6e165

Please sign in to comment.