From 124ec403007fb53cf7f080bc0fa5f80d2857f522 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 3 Apr 2018 10:54:29 +0200 Subject: [PATCH] Inherit again from Object --- compiler/api/template/pyrogram.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}