mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-30 20:34:51 +00:00
Add phone_number type of entity to docs
This commit is contained in:
parent
2617618cef
commit
caecbef2f6
1 changed files with 3 additions and 3 deletions
|
|
@ -26,9 +26,9 @@ class MessageEntity(Object):
|
|||
Args:
|
||||
type (``str``):
|
||||
Type of the entity.
|
||||
Can be "mention" (@username), "hashtag", "cashtag", "bot_command", "url", "email", "bold" (bold text),
|
||||
italic (italic text), "code" (monowidth string), "pre" (monowidth block), "text_link" (for clickable text
|
||||
URLs), "text_mention" (for users without usernames).
|
||||
Can be "mention" (@username), "hashtag", "cashtag", "bot_command", "url", "email", "phone_number", "bold"
|
||||
(bold text), italic (italic text), "code" (monowidth string), "pre" (monowidth block), "text_link"
|
||||
(for clickable text URLs), "text_mention" (for users without usernames).
|
||||
|
||||
offset (``int``):
|
||||
Offset in UTF-16 code units to the start of the entity.
|
||||
|
|
|
|||
Loading…
Reference in a new issue