mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Warn users in case they try to use base types as arguments
This commit is contained in:
@@ -336,7 +336,8 @@ def start(format: bool = False):
|
||||
docstring=docstring,
|
||||
name=type,
|
||||
qualname=qualtype,
|
||||
types=", ".join([f"raw.types.{c}" for c in constructors])
|
||||
types=", ".join([f"raw.types.{c}" for c in constructors]),
|
||||
doc_name=snake(type).replace("_", "-")
|
||||
)
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user