diff --git a/compiler/api/template/class.txt b/compiler/api/template/mtproto.txt similarity index 100% rename from compiler/api/template/class.txt rename to compiler/api/template/mtproto.txt diff --git a/compiler/api/template/pyrogram.txt b/compiler/api/template/pyrogram.txt new file mode 100644 index 00000000..f5f7a96a --- /dev/null +++ b/compiler/api/template/pyrogram.txt @@ -0,0 +1,10 @@ +{notice} + + +class {class_name}: + """{docstring_args} + """ + ID = {object_id} + + def __init__(self{arguments}): + {fields}