diff --git a/compiler/api/template/pyrogram.txt b/compiler/api/template/pyrogram.txt index f5f7a96a..adbe4151 100644 --- a/compiler/api/template/pyrogram.txt +++ b/compiler/api/template/pyrogram.txt @@ -1,7 +1,8 @@ {notice} +from pyrogram.api.core import Object -class {class_name}: +class {class_name}(Object): """{docstring_args} """ ID = {object_id}