Don't make a request at all if it will trigger flood wait

This commit is contained in:
Lonami Exo
2018-07-21 12:25:20 +02:00
parent a9cc35e604
commit 24758b82ec
3 changed files with 27 additions and 0 deletions

View File

@@ -3,6 +3,9 @@ from datetime import datetime, date, timedelta
class TLObject:
CONSTRUCTOR_ID = None
SUBCLASS_OF_ID = None
@staticmethod
def pretty_format(obj, indent=None):
"""