Update dependencies

This commit is contained in:
Tulir Asokan
2024-03-13 15:15:36 +02:00
parent 150bf5e338
commit ce43607c56
3 changed files with 16 additions and 3 deletions
+13
View File
@@ -113,6 +113,7 @@ from telethon.tl.types import (
InputPeerUser,
InputStickerSetEmpty,
InputUser,
MessageActionBoostApply,
MessageActionChannelCreate,
MessageActionChatAddUser,
MessageActionChatCreate,
@@ -3651,6 +3652,18 @@ class Portal(DBPortal, BasePortal):
),
),
)
elif isinstance(action, MessageActionBoostApply):
await self._send_message(
sender.intent_for(self),
TextMessageEventContent(
msgtype=MessageType.EMOTE,
body=(
"boosted the group"
if action.boosts == 1
else f"boosted the group {action.boosts} times"
),
),
)
elif isinstance(action, MessageActionGameScore):
# TODO handle game score
pass