From 4492d9d20bc1f841f22cb42c7d9f1eca01d89a80 Mon Sep 17 00:00:00 2001 From: ColinShark Date: Sat, 15 Jun 2019 13:55:50 +0200 Subject: [PATCH] Put italic in quotes, adapt text_mention (#254) * Put italic in quotes, adapt text_mention * Update message_entity.py --- pyrogram/client/types/messages_and_media/message_entity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client/types/messages_and_media/message_entity.py b/pyrogram/client/types/messages_and_media/message_entity.py index 5f3483ee..420bd914 100644 --- a/pyrogram/client/types/messages_and_media/message_entity.py +++ b/pyrogram/client/types/messages_and_media/message_entity.py @@ -31,8 +31,8 @@ class MessageEntity(Object): type (``str``): Type of the entity. 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). + (bold text), "italic" (italic text), "code" (monowidth string), "pre" (monowidth block), "text_link" + (for clickable text URLs), "text_mention" (for custom text mentions based on users' identifiers). offset (``int``): Offset in UTF-16 code units to the start of the entity.