Fix backwards compatibility problem

bot-api-6.1
Amir Khazaie 2018-10-15 12:31:37 +03:30
parent fad189563c
commit b2addf5f91
1 changed files with 1 additions and 2 deletions

View File

@ -616,14 +616,13 @@ func NewEditMessageText(chatID int64, messageID int, text string) EditMessageTex
}
// NewEditMessageCaption allows you to edit the caption of a message.
func NewEditMessageCaption(chatID int64, messageID int, caption, parseMode string) EditMessageCaptionConfig {
func NewEditMessageCaption(chatID int64, messageID int, caption string) EditMessageCaptionConfig {
return EditMessageCaptionConfig{
BaseEdit: BaseEdit{
ChatID: chatID,
MessageID: messageID,
},
Caption: caption,
ParseMode: parseMode,
}
}