Skip to content

Commit 104b7c9

Browse files
committed
fix(doc): wrong ParseMode doc in user.mention
1 parent 67bae64 commit 104b7c9

File tree

1 file changed

+1
-1
lines changed
  • hydrogram/types/user_and_chats

1 file changed

+1
-1
lines changed

hydrogram/types/user_and_chats/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class User(Object, Update):
148148
Generate a text mention for this user.
149149
You can use ``user.mention()`` to mention the user using their first name (styled using html), or
150150
``user.mention("another name")`` for a custom name. To choose a different style
151-
("html" or "md"/"markdown") use ``user.mention(style="md")``.
151+
("HTML" or "MARKDOWN") use ``user.mention(style=ParseMode.MARKDOWN)``.
152152
"""
153153

154154
def __init__(

0 commit comments

Comments
 (0)