From 9b1d9aa672118fd9984b0b85610a2af105ad9c04 Mon Sep 17 00:00:00 2001 From: Shubham Kumar Date: Tue, 29 Aug 2023 22:10:07 +0530 Subject: [PATCH] Fix incorrect param type in apply_channel_difference (#4185) --- telethon/_updates/messagebox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/_updates/messagebox.py b/telethon/_updates/messagebox.py index 893c3180..6502f7a4 100644 --- a/telethon/_updates/messagebox.py +++ b/telethon/_updates/messagebox.py @@ -798,7 +798,7 @@ class MessageBox: updates=diff.other_updates, users=diff.users, chats=diff.chats, - date=1, # anything not-None + date=epoch(), seq=NO_SEQ, # this way date is not used ), chat_hashes, updates)