Skip to content

Commit

Permalink
Fix definition typo in patched module
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Feb 10, 2021
1 parent 9a47fdc commit 845fe88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telethon/tl/patched/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class MessageService(_Message, types.MessageService):
types.MessageService = MessageService
alltlobjects.tlobjects[MessageService.CONSTRUCTOR_ID] = MessageService

class _Message(_Message, types.Message):
class Message(_Message, types.Message):
pass

Message = _Message
types.Message = Message
alltlobjects.tlobjects[Message.CONSTRUCTOR_ID] = Message

0 comments on commit 845fe88

Please sign in to comment.