mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Accept optional keyword arguments
This commit is contained in:
parent
0a12d9c5bd
commit
cb509ba4db
@ -8,7 +8,7 @@ from pyrogram.api.core import *
|
|||||||
class {class_name}(Object):
|
class {class_name}(Object):
|
||||||
ID = {object_id}
|
ID = {object_id}
|
||||||
|
|
||||||
def __init__(self{arguments}):
|
def __init__(self{arguments}, **kwargs):
|
||||||
{fields}
|
{fields}
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user