Skip to content

Commit

Permalink
Actually fix references to TL in MessageBox
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed May 13, 2022
1 parent a5c3df2 commit db7b7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telethon/_updates/messagebox.py
Expand Up @@ -469,7 +469,7 @@ def get_difference(self):
entry = ENTRY_ACCOUNT
if entry in self.getting_diff_for:
if entry in self.map:
return fn.updates.GetDifference(
return fn.updates.GetDifferenceRequest(
pts=self.map[ENTRY_ACCOUNT].pts,
pts_total_limit=None,
date=self.date,
Expand Down Expand Up @@ -557,7 +557,7 @@ def get_channel_difference(
self.end_get_diff(entry)
return None

return fn.updates.GetChannelDifference(
return fn.updates.GetChannelDifferenceRequest(
force=False,
channel=tl.InputChannel(packed.id, packed.hash),
filter=tl.ChannelMessagesFilterEmpty(),
Expand Down

0 comments on commit db7b7fd

Please sign in to comment.