diff --git a/compiler/api/template/mtproto.txt b/compiler/api/template/mtproto.txt index 81c99062..0884b533 100644 --- a/compiler/api/template/mtproto.txt +++ b/compiler/api/template/mtproto.txt @@ -6,9 +6,10 @@ from pyrogram.api.core import * class {class_name}(Object): + ID = {object_id} + """{docstring_args} """ - ID = {object_id} def __init__(self{arguments}): {fields}