mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-30 13:57:54 +00:00
Add missing client.stop()
This commit is contained in:
@@ -31,5 +31,7 @@ while True:
|
|||||||
history.extend(messages.messages)
|
history.extend(messages.messages)
|
||||||
offset += limit
|
offset += limit
|
||||||
|
|
||||||
|
client.stop()
|
||||||
|
|
||||||
# Now the "history" list contains all the messages sorted by date in
|
# Now the "history" list contains all the messages sorted by date in
|
||||||
# descending order (from the most recent to the oldest one)
|
# descending order (from the most recent to the oldest one)
|
||||||
|
@@ -35,4 +35,6 @@ while True:
|
|||||||
users.extend(participants.users)
|
users.extend(participants.users)
|
||||||
offset += limit
|
offset += limit
|
||||||
|
|
||||||
|
client.stop()
|
||||||
|
|
||||||
# Now the "users" list contains all the members of the target chat
|
# Now the "users" list contains all the members of the target chat
|
||||||
|
Reference in New Issue
Block a user