From 2cf6b22a693d0bc11303c3fc28e5be43deb92b3c Mon Sep 17 00:00:00 2001 From: Forden Date: Sun, 15 Nov 2020 21:19:08 +0300 Subject: [PATCH] Update message.py (#466) Added DICE to ContentTypes --- aiogram/types/message.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/aiogram/types/message.py b/aiogram/types/message.py index a260e62d..4b5a47bc 100644 --- a/aiogram/types/message.py +++ b/aiogram/types/message.py @@ -2901,6 +2901,8 @@ class ContentType(helper.Helper): :key: CONTACT :key: LOCATION :key: VENUE + :key: POLL + :key: DICE :key: NEW_CHAT_MEMBERS :key: LEFT_CHAT_MEMBER :key: INVOICE @@ -2966,6 +2968,8 @@ class ContentTypes(helper.Helper): :key: CONTACT :key: LOCATION :key: VENUE + :key: POLL + :key: DICE :key: NEW_CHAT_MEMBERS :key: LEFT_CHAT_MEMBER :key: INVOICE @@ -2992,6 +2996,8 @@ class ContentTypes(helper.Helper): CONTACT = helper.ListItem() # contact LOCATION = helper.ListItem() # location VENUE = helper.ListItem() # venue + POLL = helper.ListItem() # poll + DICE = helper.ListItem() # dice NEW_CHAT_MEMBERS = helper.ListItem() # new_chat_member LEFT_CHAT_MEMBER = helper.ListItem() # left_chat_member INVOICE = helper.ListItem() # invoice @@ -3005,7 +3011,6 @@ class ContentTypes(helper.Helper): DELETE_CHAT_PHOTO = helper.ListItem() # delete_chat_photo GROUP_CHAT_CREATED = helper.ListItem() # group_chat_created PASSPORT_DATA = helper.ListItem() # passport_data - POLL = helper.ListItem() UNKNOWN = helper.ListItem() # unknown ANY = helper.ListItem() # any