for contact in driver.get_unread():
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi__init.py", line 370, in get_unread
messages = list(filter(None.ne,[factory_message(message, self) for message in raw_message_group['messages']]))
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi__init.py", line 370, in
messages = list(filter(None.ne__,[factory_message(message, self) for message in raw_message_group['messages']]))
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi\objects\message.py", line 29, in factory_message
return MediaMessage(js_obj, driver)
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi\objects\message.py", line 85, in init
super(MediaMessage, self).init__(js_obj, driver)
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi\objects\message.py", line 62, in init
if js_obj["content"]:
KeyError: 'content'
Please help.. error when receive audio message
for contact in driver.get_unread(): File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi__init.py", line 370, in get_unread messages = list(filter(None.ne,[factory_message(message, self) for message in raw_message_group['messages']])) File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi__init.py", line 370, in
messages = list(filter(None. ne__,[factory_message(message, self) for message in raw_message_group['messages']]))
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi\objects\message.py", line 29, in factory_message
return MediaMessage(js_obj, driver)
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi\objects\message.py", line 85, in init
super(MediaMessage, self).init__(js_obj, driver)
File "C:\Python38\lib\site-packages\webwhatsapi-2.0.3-py3.8.egg\webwhatsapi\objects\message.py", line 62, in init
if js_obj["content"]:
KeyError: 'content'
How to fix this?