Add temporary patch for TypeMessageEntity

This commit is contained in:
Tulir Asokan
2018-03-10 14:55:37 +02:00
parent 7f52238fbb
commit 42e33ab54d
3 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ class Bot(AbstractUser):
elif isinstance(action, MessageActionChatDeleteUser) and action.user_id == self.tgid:
self.remove_chat(to_id)
async def update(self, update: TypeUpdate):
async def update(self, update):
if not isinstance(update, (UpdateNewMessage, UpdateNewChannelMessage)):
return
if isinstance(update.message, MessageService):