Skip to content

Commit c65706f

Browse files
committed
Move ids at the top
1 parent fefcb81 commit c65706f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/api/template/mtproto.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ from pyrogram.api.core import *
66

77

88
class {class_name}(Object):
9+
ID = {object_id}
10+
911
"""{docstring_args}
1012
"""
11-
ID = {object_id}
1213

1314
def __init__(self{arguments}):
1415
{fields}

0 commit comments

Comments
 (0)