Traceback (most recent call last):
File "/root/.venv/lib/python3.12/site-packages/pytdbot/client.py", line 928, in __run_handlers
await handler(self, handler_value)
File "/root/SpTubeBot/src/modules/_fsub.py", line 60, in wrapper
return await func(client, message, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/SpTubeBot/src/modules/snap.py", line 328, in insta_autodetect
await process_insta_query(client, message, valid_url, platform=platform)
File "/root/SpTubeBot/src/modules/snap.py", line 199, in process_insta_query
err = await _handle_media_upload(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/SpTubeBot/src/modules/snap.py", line 46, in _handle_media_upload
result = await send_func(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.venv/lib/python3.12/site-packages/pytdbot/types/bound_methods/message.py", line 811, in reply_video
return await self._client.sendVideo(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.venv/lib/python3.12/site-packages/pytdbot/methods/methods.py", line 1010, in sendVideo
content=InputMessageVideo(
^^^^^^^^^^^^^^^^^^
TypeError: InputMessageVideo.init() got an unexpected keyword argument 'thumbnail'
last version pytdbot and tdjson
Traceback (most recent call last):
File "/root/.venv/lib/python3.12/site-packages/pytdbot/client.py", line 928, in __run_handlers
await handler(self, handler_value)
File "/root/SpTubeBot/src/modules/_fsub.py", line 60, in wrapper
return await func(client, message, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/SpTubeBot/src/modules/snap.py", line 328, in insta_autodetect
await process_insta_query(client, message, valid_url, platform=platform)
File "/root/SpTubeBot/src/modules/snap.py", line 199, in process_insta_query
err = await _handle_media_upload(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/SpTubeBot/src/modules/snap.py", line 46, in _handle_media_upload
result = await send_func(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.venv/lib/python3.12/site-packages/pytdbot/types/bound_methods/message.py", line 811, in reply_video
return await self._client.sendVideo(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.venv/lib/python3.12/site-packages/pytdbot/methods/methods.py", line 1010, in sendVideo
content=InputMessageVideo(
^^^^^^^^^^^^^^^^^^
TypeError: InputMessageVideo.init() got an unexpected keyword argument 'thumbnail'
last version pytdbot and tdjson