mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-24 15:30:48 +03:00
Change outdated reference to archive with edit_folder (#3052)
This commit is contained in:
parent
08a11eeacf
commit
d44928c27b
|
@ -370,7 +370,7 @@ class DialogMethods:
|
||||||
await client.edit_folder(dialogs, [0, 1])
|
await client.edit_folder(dialogs, [0, 1])
|
||||||
|
|
||||||
# Un-archiving all dialogs
|
# Un-archiving all dialogs
|
||||||
await client.archive(unpack=1)
|
await client.edit_folder(unpack=1)
|
||||||
"""
|
"""
|
||||||
if (entity is None) == (unpack is None):
|
if (entity is None) == (unpack is None):
|
||||||
raise ValueError('You can only set either entities or unpack, not both')
|
raise ValueError('You can only set either entities or unpack, not both')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user