Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete or archive Chat #124

Open
jesusvalverde opened this issue Oct 31, 2019 · 0 comments
Open

Delete or archive Chat #124

jesusvalverde opened this issue Oct 31, 2019 · 0 comments
Labels
question Further information is requested

Comments

@jesusvalverde
Copy link

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 jesusvalverde added the question Further information is requested label Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant