diff --git a/back/tgbot/tgbot.py b/back/tgbot/tgbot.py index ab25e4c..075ed8c 100644 --- a/back/tgbot/tgbot.py +++ b/back/tgbot/tgbot.py @@ -552,7 +552,8 @@ class TgBot: if update.message.photo: element.file_id = update.message.photo[-1].file_id upload_file.delay(element.file_id) - elif update.message.text: + + if update.message.text: element.text = update.message.text await element.asave()