mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-24 10:58:29 +00:00
Remove "0x" prefix from IDs in the documentation
This commit is contained in:
parent
32b3452e76
commit
295060d190
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user