Closed adripo closed 1 year ago
I have reviewed the code and the use of await self.get_dialogs()
is unnecessary. The code doesn't follow the Python style rules. You should never use except without defining an exception. It is also preferable to validate numbers without using exceptions.
The bug has been fixed in the issue #118. I hope to be able to review the pull request next time sooner... thank you very much for your pull request as well.
@Nekmo thanks for the feedback, very appreciated. As you have seen this PR was opened almost a year ago and I'm happy that it was fixed in the meantime.
fix #163 #118
As explained in the note here: https://docs.telethon.dev/en/stable/concepts/entities.html?highlight=client.get_dialogs()#entities