defined at /data/data/com.termux/files/usr/lib/python3.10/site-packages/aiogram/dispatcher/dispatcher.py:407> exception=TypeError('approvex() takes 0 positional arguments but 1 was given')>
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/aiogram/dispatcher/dispatcher.py", line 415, in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/aiogram/dispatcher/dispatcher.py", line 235, in process_updates
return await asyncio.gather(*tasks)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/aiogram/dispatcher/handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/aiogram/dispatcher/dispatcher.py", line 283, in process_update
return await self.callback_query_handlers.notify(update.callback_query)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/aiogram/dispatcher/handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
TypeError: approvex() takes 0 positional arguments but 1 was given
Код https://paste.aiogram.dev/ebesitaxir.py
Что за ошибка? Аргументов не передавал
судя по всему, не получится это сделать, так как вместо них передаётся NoneType
pidroid святое...
message.chat.id
попробуй call.chat.id
Обсуждают сегодня