Accept optional keyword arguments

This commit is contained in:
Dan 2017-12-06 21:27:57 +01:00
parent 0a12d9c5bd
commit cb509ba4db

View File

@ -8,7 +8,7 @@ from pyrogram.api.core import *
class {class_name}(Object):
ID = {object_id}
def __init__(self{arguments}):
def __init__(self{arguments}, **kwargs):
{fields}
@staticmethod