From 7fbee0edc79f2c495bd52f2d8bb12694600c4712 Mon Sep 17 00:00:00 2001 From: KnorpelSenf Date: Fri, 29 Dec 2023 16:58:11 +0100 Subject: [PATCH] doc: update example in README --- src/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index 5e42f79d..e2d19f56 100644 --- a/src/README.md +++ b/src/README.md @@ -24,7 +24,7 @@ bot.on( "edited_message", (ctx) => ctx.reply("Ha! Gotcha! You just edited this!", { - reply_to_message_id: ctx.editedMessage.message_id, + reply_parameters: { message_id: ctx.editedMessage.message_id }, }), );