Add friendly methods for archiving dialogs

This commit is contained in:
Lonami Exo
2019-05-10 18:10:56 +02:00
parent 1828dca0b9
commit 313caf440e
5 changed files with 117 additions and 0 deletions

View File

@@ -97,6 +97,8 @@ FILEREF_UPGRADE_NEEDED,406,The file reference needs to be refreshed before being
FIRSTNAME_INVALID,400,The first name is invalid
FLOOD_TEST_PHONE_WAIT_X,420,A wait of {seconds} seconds is required in the test servers
FLOOD_WAIT_X,420,A wait of {seconds} seconds is required
FOLDER_ID_EMPTY,400,The folder you tried to delete was already empty
FOLDER_ID_INVALID,400,The folder you tried to use was not valid
FRESH_RESET_AUTHORISATION_FORBIDDEN,406,The current session is too new and cannot be used to reset other authorisations yet
GIF_ID_INVALID,400,The provided GIF ID is invalid
GROUPED_MEDIA_INVALID,400,Invalid grouped media
1 name codes description
97 FIRSTNAME_INVALID 400 The first name is invalid
98 FLOOD_TEST_PHONE_WAIT_X 420 A wait of {seconds} seconds is required in the test servers
99 FLOOD_WAIT_X 420 A wait of {seconds} seconds is required
100 FOLDER_ID_EMPTY 400 The folder you tried to delete was already empty
101 FOLDER_ID_INVALID 400 The folder you tried to use was not valid
102 FRESH_RESET_AUTHORISATION_FORBIDDEN 406 The current session is too new and cannot be used to reset other authorisations yet
103 GIF_ID_INVALID 400 The provided GIF ID is invalid
104 GROUPED_MEDIA_INVALID 400 Invalid grouped media

View File

@@ -114,6 +114,8 @@ contacts.search,user,QUERY_TOO_SHORT SEARCH_QUERY_EMPTY Timeout
contacts.toggleTopPeers,user,
contacts.unblock,user,CONTACT_ID_INVALID
contest.saveDeveloperInfo,both,
folders.deleteFolder,user,FOLDER_ID_EMPTY
folders.editPeerFolders,user,FOLDER_ID_INVALID
help.acceptTermsOfService,user,
help.editUserInfo,user,USER_INVALID
help.getAppChangelog,user,
1 method usability errors
114 contacts.toggleTopPeers user
115 contacts.unblock user CONTACT_ID_INVALID
116 contest.saveDeveloperInfo both
117 folders.deleteFolder user FOLDER_ID_EMPTY
118 folders.editPeerFolders user FOLDER_ID_INVALID
119 help.acceptTermsOfService user
120 help.editUserInfo user USER_INVALID
121 help.getAppChangelog user