mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Remove "0x" prefix from IDs in the documentation
This commit is contained in:
@@ -378,7 +378,7 @@ def start(format: bool = False):
|
||||
else:
|
||||
docstring += f"Telegram API method.\n\n"
|
||||
|
||||
docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id}``\n\n"
|
||||
docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id[2:].upper()}``\n\n"
|
||||
|
||||
if docstring_args:
|
||||
docstring += " Parameters:\n " + "\n ".join(docstring_args)
|
||||
|
Reference in New Issue
Block a user