mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Add phone_number type of entity to docs
This commit is contained in:
parent
2617618cef
commit
caecbef2f6
@ -26,9 +26,9 @@ class MessageEntity(Object):
|
|||||||
Args:
|
Args:
|
||||||
type (``str``):
|
type (``str``):
|
||||||
Type of the entity.
|
Type of the entity.
|
||||||
Can be "mention" (@username), "hashtag", "cashtag", "bot_command", "url", "email", "bold" (bold text),
|
Can be "mention" (@username), "hashtag", "cashtag", "bot_command", "url", "email", "phone_number", "bold"
|
||||||
italic (italic text), "code" (monowidth string), "pre" (monowidth block), "text_link" (for clickable text
|
(bold text), italic (italic text), "code" (monowidth string), "pre" (monowidth block), "text_link"
|
||||||
URLs), "text_mention" (for users without usernames).
|
(for clickable text URLs), "text_mention" (for users without usernames).
|
||||||
|
|
||||||
offset (``int``):
|
offset (``int``):
|
||||||
Offset in UTF-16 code units to the start of the entity.
|
Offset in UTF-16 code units to the start of the entity.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user