Types don't need to inherit from TLObject
This commit is contained in:
parent
50c6207099
commit
d385aae1d2
@ -10,7 +10,7 @@ from pyrogram.raw.core import TLObject
|
||||
|
||||
|
||||
# noinspection PyRedeclaration
|
||||
class {name}(TLObject): # type: ignore
|
||||
class {name}: # type: ignore
|
||||
"""{docstring}
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user