Minor docs update, bump v1.11.3

This commit is contained in:
Lonami Exo 2020-02-24 13:15:56 +01:00
parent 9a86447b6e
commit e9c5e719f1
4 changed files with 4 additions and 2 deletions

View File

@ -245,7 +245,7 @@ class DialogMethods:
# Getting only archived dialogs (both equivalent)
archived = await client.get_dialogs(folder=1)
non_archived = await client.get_dialogs(archived=True)
archived = await client.get_dialogs(archived=True)
"""
return await self.iter_dialogs(*args, **kwargs).collect()

View File

@ -1,3 +1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '1.11.2'
__version__ = '1.11.3'

View File

@ -68,6 +68,7 @@ CONNECTION_LAYER_INVALID,400,The very first request must always be InvokeWithLay
CONNECTION_NOT_INITED,400,Connection not initialized
CONNECTION_SYSTEM_EMPTY,400,Connection system empty
CONTACT_ID_INVALID,400,The provided contact ID is invalid
CONTACT_NAME_EMPTY,400,The provided contact name cannot be empty
DATA_INVALID,400,Encrypted data invalid
DATA_JSON_INVALID,400,The provided JSON data is invalid
DATE_EMPTY,400,Date empty

1 name codes description
68 CONNECTION_NOT_INITED 400 Connection not initialized
69 CONNECTION_SYSTEM_EMPTY 400 Connection system empty
70 CONTACT_ID_INVALID 400 The provided contact ID is invalid
71 CONTACT_NAME_EMPTY 400 The provided contact name cannot be empty
72 DATA_INVALID 400 Encrypted data invalid
73 DATA_JSON_INVALID 400 The provided JSON data is invalid
74 DATE_EMPTY 400 Date empty

View File

@ -99,6 +99,7 @@ channels.togglePreHistoryHidden,user,CHAT_LINK_EXISTS
channels.toggleSignatures,user,CHANNEL_INVALID
channels.toggleSlowMode,user,SECONDS_INVALID
channels.updateUsername,user,CHANNELS_ADMIN_PUBLIC_TOO_MUCH CHANNEL_INVALID CHAT_ADMIN_REQUIRED USERNAME_INVALID USERNAME_OCCUPIED
contacts.addContact,user,CONTACT_NAME_EMPTY
contacts.block,user,CONTACT_ID_INVALID
contacts.deleteByPhones,user,
contacts.deleteContact,user,CONTACT_ID_INVALID

1 method usability errors
99 channels.toggleSignatures user CHANNEL_INVALID
100 channels.toggleSlowMode user SECONDS_INVALID
101 channels.updateUsername user CHANNELS_ADMIN_PUBLIC_TOO_MUCH CHANNEL_INVALID CHAT_ADMIN_REQUIRED USERNAME_INVALID USERNAME_OCCUPIED
102 contacts.addContact user CONTACT_NAME_EMPTY
103 contacts.block user CONTACT_ID_INVALID
104 contacts.deleteByPhones user
105 contacts.deleteContact user CONTACT_ID_INVALID