Change outdated reference to archive with edit_folder (#3052)

This commit is contained in:
Anonymous 2021-05-09 19:03:28 +05:30 committed by GitHub
parent 08a11eeacf
commit d44928c27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -370,7 +370,7 @@ class DialogMethods:
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')