mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 17:33:44 +00:00
Swap around checking of VENUE and LOCATION content
This commit is contained in:
parent
4e7ab9c16d
commit
c144156f43
1 changed files with 2 additions and 2 deletions
|
|
@ -95,10 +95,10 @@ class Message(base.TelegramObject):
|
|||
return ContentType.VOICE[0]
|
||||
if self.contact:
|
||||
return ContentType.CONTACT[0]
|
||||
if self.location:
|
||||
return ContentType.LOCATION[0]
|
||||
if self.venue:
|
||||
return ContentType.VENUE[0]
|
||||
if self.location:
|
||||
return ContentType.LOCATION[0]
|
||||
if self.new_chat_members:
|
||||
return ContentType.NEW_CHAT_MEMBERS[0]
|
||||
if self.left_chat_member:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue