From 44a3a4d69bc81804dde015627d8dc72e28b6f3b3 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 1 Apr 2018 13:08:37 +0200 Subject: [PATCH] Add pyrogram.txt template --- compiler/api/template/{class.txt => mtproto.txt} | 0 compiler/api/template/pyrogram.txt | 10 ++++++++++ 2 files changed, 10 insertions(+) rename compiler/api/template/{class.txt => mtproto.txt} (100%) create mode 100644 compiler/api/template/pyrogram.txt 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}