Change outdated reference to archive with edit_folder (#3052)

This commit is contained in:
Anonymous
2021-05-09 15:33:28 +02:00
committed by GitHub
parent 08a11eeacf
commit d44928c27b
+1 -1
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')