alfred82santa / whalesong

Whalesong is an asyncio python library to manage WebApps remotely. Currently WhatsappWeb is implemented
https://whalesong.readthedocs.io
MIT License
51 stars 19 forks source link

Delete or archive Chat #124

Open jesusvalverde opened 4 years ago

jesusvalverde commented 4 years ago

are archive or delete_chat working....not able to do somethign like this

contact_it = self._driver.chats.get_items() self.echo('List chats to delete') async for chat in contact_it: self.echo('Chat: {}'.format(chat.id)) self._driver.chats[chat.id].archive()
self._driver.chats[chat.id].delete_chat()
self.echo('Deleted chats finished')