whalesong icon indicating copy to clipboard operation
whalesong copied to clipboard

Delete or archive Chat

Open jesusvalverde opened this issue 5 years ago • 0 comments

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')

jesusvalverde avatar Oct 31 '19 01:10 jesusvalverde