Skip to content

Commit

Permalink
Change outdated reference to archive with edit_folder (#3052)
Browse files Browse the repository at this point in the history
  • Loading branch information
New-dev0 committed May 9, 2021
1 parent 08a11ee commit d44928c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telethon/client/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ async def edit_folder(
await client.edit_folder(dialogs, [0, 1])
# Un-archiving all dialogs
await client.archive(unpack=1)
await client.edit_folder(unpack=1)
"""
if (entity is None) == (unpack is None):
raise ValueError('You can only set either entities or unpack, not both')
Expand Down

0 comments on commit d44928c

Please sign in to comment.