I'm using Windows 8, Python 3.8.3 (default, Jul 2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)], Mozilla Firefox 88.0.1and geckodriver 0.29.1, and installed webwhatsapi via pip (pip install webwhatsapi) on May 30, 2021.
I'm trying to get unread messages through three different attemps
My code:
from webwhatsapi import WhatsAPIDriverdriver = WhatsAPIDriver(loadstyles=False)#%%get_unrread()#%%driver.get_unread_messages_in_chat()#%%driver.wapi_functions.getUnreadMessages(False, False, False)
With any of them I retrieve the information only one time. After that they returns an empty array.
There is a way to do not loss the information after call some of them? (fox example to use get_unread() and get_unread_messages_in_chat() sequentially)
I'm using Windows 8, Python 3.8.3 (default, Jul 2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)], Mozilla Firefox 88.0.1and geckodriver 0.29.1, and installed webwhatsapi via pip (pip install webwhatsapi) on May 30, 2021.
I'm trying to get unread messages through three different attemps
My code:
from webwhatsapi import WhatsAPIDriver
driver = WhatsAPIDriver(loadstyles=False)
#%%
get_unrread()
#%%
driver.get_unread_messages_in_chat()
#%%
driver.wapi_functions.getUnreadMessages(False, False, False)
With any of them I retrieve the information only one time. After that they returns an empty array.
There is a way to do not loss the information after call some of them? (fox example to use get_unread() and get_unread_messages_in_chat() sequentially)