caption
This commit is contained in:
parent
83d9d85ffd
commit
c7f7675941
|
@ -552,6 +552,8 @@ class TgBot:
|
||||||
if update.message.photo:
|
if update.message.photo:
|
||||||
element.file_id = update.message.photo[-1].file_id
|
element.file_id = update.message.photo[-1].file_id
|
||||||
upload_file.delay(element.file_id)
|
upload_file.delay(element.file_id)
|
||||||
|
if update.message.caption:
|
||||||
|
element.text = update.message.text
|
||||||
|
|
||||||
if update.message.text:
|
if update.message.text:
|
||||||
element.text = update.message.text
|
element.text = update.message.text
|
||||||
|
|
Loading…
Reference in New Issue