This commit is contained in:
Kseninia Mikhaylova 2024-08-13 10:02:13 +03:00
parent c7f7675941
commit 626c8b5b91
1 changed files with 1 additions and 1 deletions

View File

@ -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