diff --git a/main.mjs b/main.mjs index c4c3915..9180aa5 100644 --- a/main.mjs +++ b/main.mjs @@ -41,10 +41,11 @@ bot.on("channel_post", (msg) => { taskEither.tryCatch( () => bot.editMessageText( - msg.text + "\n\nYandexGpt:\n\n" + res, + msg.text + "\n\nYandexGPT:\n\n" + res, { chat_id: (msg.forward_from_chat ?? msg.chat).id, message_id: msg.forward_from_message_id ?? msg.message_id, + entities: msg.entities, }, ), String,