mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Use the already computed channel_id
This commit is contained in:
parent
e270c7d5f8
commit
00420aec92
@ -812,7 +812,7 @@ class Client:
|
||||
if not isinstance(message, types.MessageEmpty):
|
||||
diff = self.send(
|
||||
functions.updates.GetChannelDifference(
|
||||
channel=self.resolve_peer(int("-100" + str(update.message.to_id.channel_id))),
|
||||
channel=self.resolve_peer(int("-100" + str(channel_id))),
|
||||
filter=types.ChannelMessagesFilter(
|
||||
ranges=[types.MessageRange(
|
||||
min_id=update.message.id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user