mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-30 17:59:55 +03:00
1 Error in docs
This commit is contained in:
parent
b2c26a53ef
commit
18f2f35f8d
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user