Skip to content

Commit e311c9e

Browse files
docs: fix get_archived_stories example
1 parent b7931c2 commit e311c9e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pyrogram/methods/stories/get_archived_stories.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
from typing import AsyncGenerator, Union
2020

2121
import pyrogram
22-
from pyrogram import raw
23-
from pyrogram import types
22+
from pyrogram import raw, types
2423

2524

2625
class GetArchivedStories:
@@ -54,7 +53,7 @@ async def get_archived_stories(
5453
.. code-block:: python
5554
5655
# Get archived stories from specific chat
57-
async for story in app.get_stories_archive(chat_id):
56+
async for story in app.get_archived_stories(chat_id):
5857
print(story)
5958
"""
6059
current = 0

0 commit comments

Comments
 (0)