diff --git a/telegram_stats_bot/main.py b/telegram_stats_bot/main.py index 74360a6..0452d3d 100644 --- a/telegram_stats_bot/main.py +++ b/telegram_stats_bot/main.py @@ -82,6 +82,7 @@ def get_chatid(update: Update, context: CallbackContext): context.bot.send_message(chat_id=update.effective_chat.id, text=f"Chat id: {update.effective_chat.id}") + def test_can_read_all_group_messages(context: CallbackContext): if not context.bot.can_read_all_group_messages: logger.error("Bot privacy is set to enabled, cannot log messages!!!")