mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-27 16:45:19 +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):
|
||||
ID = {object_id}
|
||||
|
||||
def __init__(self{arguments}):
|
||||
def __init__(self{arguments}, **kwargs):
|
||||
{fields}
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user