mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-23 23:34:28 +00:00
Fix get_stories
This commit is contained in:
parent
d99c3f511c
commit
8053ce4589
@ -83,4 +83,4 @@ class GetStories:
|
||||
)
|
||||
)
|
||||
|
||||
return types.List(stories) if is_iterable else stories[0]
|
||||
return types.List(stories) if is_iterable else stories[0] if stories else None
|
||||
|
Loading…
Reference in New Issue
Block a user