From d4f38a442dbf7a07aefb3a0b2d9c41ef624eec09 Mon Sep 17 00:00:00 2001 From: brucewzj99 Date: Fri, 3 May 2024 22:48:41 +0800 Subject: [PATCH] v2.3.5 add parse mode --- bot/telegram_bot.py | 4 +++- release_notes.md | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bot/telegram_bot.py b/bot/telegram_bot.py index 1349c60..d2e0ded 100644 --- a/bot/telegram_bot.py +++ b/bot/telegram_bot.py @@ -1020,7 +1020,9 @@ def notify_all(update, context): ] reply_markup = InlineKeyboardMarkup(keyboard) update.message.reply_text( - f"Preview:\n{new_feature_message}", reply_markup=reply_markup + f"Preview:\n{new_feature_message}", + reply_markup=reply_markup, + parse_mode=ParseMode.HTML, ) else: update.message.reply_text("You are not authorized to use this command.") diff --git a/release_notes.md b/release_notes.md index 2dec048..0636293 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,4 +1,8 @@ # Release Notes +## Version 2.3.5 - Date 3 May 2024 +### For Developer 🧑‍💻 +- Add parse html for /notifyall command to send message with html tags + ## Version 2.3.4 - Date 3 May 2024 ### Enhancement 🔥 - Added FAQ section