mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix missing message content types
This commit is contained in:
parent
68c0516f69
commit
e1e30a37fe
1 changed files with 5 additions and 1 deletions
|
|
@ -492,7 +492,11 @@ class Message(TelegramObject):
|
|||
return ContentType.VIDEO_CHAT_PARTICIPANTS_INVITED
|
||||
if self.web_app_data:
|
||||
return ContentType.WEB_APP_DATA
|
||||
|
||||
if self.user_shared:
|
||||
return ContentType.USER_SHARED
|
||||
if self.chat_shared:
|
||||
return ContentType.CHAT_SHARED
|
||||
|
||||
return ContentType.UNKNOWN
|
||||
|
||||
def _unparse_entities(self, text_decoration: TextDecoration) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue