From 227da24954a9c02b0df00ffe40d4346e31281b1e Mon Sep 17 00:00:00 2001 From: vvok12 Date: Mon, 9 Oct 2023 11:51:16 +0300 Subject: [PATCH] typo fix (#41) --- methods_params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/methods_params.go b/methods_params.go index 0f210ea..d0eac9d 100644 --- a/methods_params.go +++ b/methods_params.go @@ -597,7 +597,7 @@ type EditMessageTextParams struct { InlineMessageID string `json:"inline_message_id,omitempty"` Text string `json:"text"` ParseMode models.ParseMode `json:"parse_mode,omitempty"` - Entities []models.MessageEntity `json:"caption_entities,omitempty"` + Entities []models.MessageEntity `json:"entities,omitempty"` DisableWebPagePreview bool `json:"disable_web_page_preview,omitempty"` ReplyMarkup models.ReplyMarkup `json:"reply_markup,omitempty"` }