Add new message entity types: "underline", "strike" and "blockquote"

This commit is contained in:
Dan 2019-06-23 22:32:45 +02:00
parent 0985d7ad90
commit 978ee4e6a6

View File

@ -60,6 +60,9 @@ class MessageEntity(Object):
types.MessageEntityItalic.ID: "italic",
types.MessageEntityCode.ID: "code",
types.MessageEntityPre.ID: "pre",
types.MessageEntityUnderline.ID: "underline",
types.MessageEntityStrike.ID: "strike",
types.MessageEntityBlockquote.ID: "blockquote",
types.MessageEntityTextUrl.ID: "text_link",
types.MessageEntityMentionName.ID: "text_mention",
types.MessageEntityPhone.ID: "phone_number"