@@ -77,13 +77,23 @@ class MessageEntity(Object):
7777
7878 Parameters:
7979 type (``str``):
80- Type of the entity.
81- Can be "mention" (``@username``), "hashtag" (``#hashtag``), "cashtag" (``$PYRO``),
82- "bot_command" (``/start@pyrogrambot``), "url" (``https://pyrogram.org``),
83- "email" (``do-not-reply@pyrogram.org``), "phone_number" (``+1-420-069-1337``), "bold" (**bold text**),
84- "italic" (*italic text*), "underline" (underlined text), "strikethrough" (strikethrough text),
85- "code" (monowidth string), "pre" (monowidth block), "text_link" (for clickable text URLs),
86- "text_mention" (for users without usernames).
80+ Type of the entity. Can be:
81+
82+ - "mention": ``@username``.
83+ - "hashtag": ``#hashtag``.
84+ - "cashtag": ``$PYRO``.
85+ - "bot_command": ``/start@pyrogrambot``.
86+ - "url": ``https://pyrogram.org`` (see *url* below).
87+ - "email": ``do-not-reply@pyrogram.org``.
88+ - "phone_number": ``+69-420-1337``.
89+ - "bold": **bold text**.
90+ - "italic": *italic text*.
91+ - "underline": underlined text.
92+ - "strikethrough": strikethrough text.
93+ - "code": monowidth string.
94+ - "pre": monowidth block (see *language* below).
95+ - "text_link": for clickable text URLs.
96+ - "text_mention": for users without usernames (see *user* below).
8797
8898 offset (``int``):
8999 Offset in UTF-16 code units to the start of the entity.
0 commit comments