in _dispatch_update
await callback(event)
File "C:\Users\Administrator\Desktop\comment_cloner\main.py", line 301, in normal_handler
await client.send_file(target_entity, [rnd_media_dir + "/" + i for i in media_files], caption = message_text)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\uploads.py", line 365, in send_file
result += await self._send_album(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\uploads.py", line 451, in _send_album
force_document=force_document, ttl=ttl, as_image=as_image)
NameError: name 'as_image' is not defined
how to fix it?
read what it tells you
i tried to add an argument 'as_image' and it does not solve problem
Обсуждают сегодня