diff --git a/back/tgbot/tgbot.py b/back/tgbot/tgbot.py index 3ce52d7..45c48d5 100644 --- a/back/tgbot/tgbot.py +++ b/back/tgbot/tgbot.py @@ -553,7 +553,7 @@ class TgBot: element.file_id = update.message.photo[-1].file_id upload_file.delay(element.file_id) if update.message.caption: - element.text = update.message.text + element.text = update.message.caption if update.message.text: element.text = update.message.text