Skip to content

Commit bf6e165

Browse files
author
Syfaro
committed
Fix more ReplyMarkup items in edits, finishes #43, closes #47.
1 parent 7bf7559 commit bf6e165

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

configs.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,6 @@ type EditMessageTextConfig struct {
560560
Text string
561561
ParseMode string
562562
DisableWebPagePreview bool
563-
ReplyMarkup *InlineKeyboardMarkup
564563
}
565564

566565
func (config EditMessageTextConfig) values() (url.Values, error) {
@@ -580,8 +579,7 @@ func (config EditMessageTextConfig) method() string {
580579
// EditMessageCaptionConfig allows you to modify the caption of a message.
581580
type EditMessageCaptionConfig struct {
582581
BaseEdit
583-
Caption string
584-
ReplyMarkup *InlineKeyboardMarkup
582+
Caption string
585583
}
586584

587585
func (config EditMessageCaptionConfig) values() (url.Values, error) {

0 commit comments

Comments
 (0)