diff --git a/compiler/api/template/class.txt b/compiler/api/template/class.txt index 482148ca..8fa495c6 100644 --- a/compiler/api/template/class.txt +++ b/compiler/api/template/class.txt @@ -8,7 +8,7 @@ from pyrogram.api.core import * class {class_name}(Object): ID = {object_id} - def __init__(self{arguments}): + def __init__(self{arguments}, **kwargs): {fields} @staticmethod