diff --git a/bot/telegram_bot.py b/bot/telegram_bot.py index d2e0ded..a7fb9bf 100644 --- a/bot/telegram_bot.py +++ b/bot/telegram_bot.py @@ -990,7 +990,11 @@ def send_new_feature_message(context, new_feature_message): for user_id in users: try: - context.bot.send_message(chat_id=user_id, text=new_feature_message) + context.bot.send_message( + chat_id=user_id, + text=new_feature_message, + parse_mode=ParseMode.HTML, + ) no_of_users += 1 except Exception as e: try: @@ -1022,7 +1026,6 @@ def notify_all(update, context): update.message.reply_text( 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 0636293..4bd50b3 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,4 +1,8 @@ # Release Notes +## Version 2.3.6 - Date 3 May 2024 +### Quick Fix 🛠️ +- Fix parse mode for /notifyall command + ## Version 2.3.5 - Date 3 May 2024 ### For Developer 🧑‍💻 - Add parse html for /notifyall command to send message with html tags