mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Add missing client.stop()
This commit is contained in:
parent
5cab0b42bb
commit
0f6e89e6b3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user