whalesong
whalesong copied to clipboard
Delete or archive Chat
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')