mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Accept optional keyword arguments
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user