2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 04:48:06 +00:00

Merge branch 'develop' of https://github.com/pyrogram/pyrogram into develop

This commit is contained in:
Dan 2019-06-15 17:59:12 +02:00
commit 237e434e78
2 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,6 @@ labels: "question"
# Important # Important
This place is for issues about Pyrogram, it's **not a forum**. This place is for issues about Pyrogram, it's **not a forum**.
If you'd like to post a question, please move to https://stackoverflow.com or join the Telegram community at https://t.me/pyrogram. If you'd like to post a question, please move to https://stackoverflow.com or join the Telegram community at https://t.me/pyrogram. Useful information on how to ask good questions can be found here: https://stackoverflow.com/help/how-to-ask.
Thanks. Thanks.

View File

@ -31,8 +31,8 @@ class MessageEntity(Object):
type (``str``): type (``str``):
Type of the entity. Type of the entity.
Can be "mention" (@username), "hashtag", "cashtag", "bot_command", "url", "email", "phone_number", "bold" 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" (bold text), "italic" (italic text), "code" (monowidth string), "pre" (monowidth block), "text_link"
(for clickable text URLs), "text_mention" (for users without usernames). (for clickable text URLs), "text_mention" (for custom text mentions based on users' identifiers).
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.