We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14eb285 commit b9e2f86Copy full SHA for b9e2f86
pyrogram/methods/users/get_chat_photos.py
@@ -111,10 +111,11 @@ async def get_chat_photos(
111
current = 0
112
113
for photo in photos:
114
+ await sleep(0)
115
+
116
if not photo:
117
continue
118
- await sleep(0)
119
yield photo
120
121
current += 1
@@ -155,10 +156,11 @@ async def get_chat_photos(
155
156
offset += len(photos)
157
158
159
160
161
162
163
164
165
166
0 commit comments