Commit Graph

315 Commits

Author SHA1 Message Date
Lonami Exo
cb6ffeaabd Slightly improve docs heuristics for video files 2020-07-28 19:46:50 +02:00
Lonami Exo
b1ea7572dd Document new rpc errors in layer 116 2020-07-26 13:45:19 +02:00
Lonami Exo
57b38b24dd Update to layer 116 2020-07-26 12:55:29 +02:00
Lonami Exo
ec8bb8a06a Document PRIVACY_TOO_LONG 2020-07-25 18:42:12 +02:00
Lonami Exo
7b852206f1 Fix click timeout error is now different 2020-07-04 13:29:43 +02:00
Lonami Exo
e0c3143763 Update documentation with new errors and further clarifications 2020-06-22 13:21:45 +02:00
Lonami Exo
fc07e6bba7 Document some RPC errors for channels.editCreator 2020-06-07 09:50:33 +02:00
Lonami Exo
20a6d7b26b Document several new RPC errors 2020-06-06 13:47:56 +02:00
Lonami Exo
493f69f195 Update to layer 114 2020-06-05 09:29:15 +02:00
Lonami Exo
02d0cbcfab Document FILE_REFERENCE_EMPTY 2020-05-24 18:41:30 +02:00
Lonami Exo
856538635d Document FRESH_CHANGE_PHONE_FORBIDDEN
Closes #1464.
2020-05-17 09:28:30 +02:00
Lonami Exo
db16cf5548 Update to layer 113 2020-05-01 14:10:58 +02:00
Lonami Exo
dcc450267f Document new EMOTICON_INVALID error 2020-04-24 12:38:51 +02:00
Lonami Exo
a353ae3b65 Update to layer 112 2020-04-24 12:17:33 +02:00
Lonami Exo
01cf4967a5 Clarify send_read_acknowledge behaviour and add new error 2020-04-13 15:03:13 +02:00
Lonami Exo
c0e523508b Update raw API method usability mapping 2020-04-06 17:44:22 +02:00
Lonami Exo
8ea5fae61b Add some missing layer 111 raw API methods 2020-04-06 10:09:11 +02:00
Lonami Exo
65d8205eef Update to layer 111 2020-03-28 10:01:31 +01:00
Lonami Exo
1ec38aa5b2 Update and clarify some docs
cc #1388, #1396
2020-02-28 11:50:16 +01:00
Lonami Exo
e451abbf20 Avoid another MemoryError 2020-02-28 10:42:23 +01:00
Lonami Exo
673a2ecd5d Document two new errors 2020-02-25 15:52:22 +01:00
Lonami Exo
e9c5e719f1 Minor docs update, bump v1.11.3 2020-02-24 13:15:56 +01:00
Lonami Exo
f21abcd529 Update to v1.11 2020-02-20 20:57:17 +01:00
Lonami Exo
7c6fe5c4e9 Update to layer 110 2020-02-16 14:03:16 +01:00
Tulir Asokan
c6bd620555
Make RPCError subclasses unpicklable again (#1387) 2020-02-14 18:22:17 +01:00
Lonami Exo
22e645e22f Update to layer 109 2020-01-23 13:43:20 +01:00
Lonami Exo
dd4c22d02d Document two new known errors 2020-01-22 14:21:09 +01:00
Lonami Exo
582a61192a Fix MemoryError on get_input_media(game)
Because an integer was being passed where a TLObject was expected,
so the serialization with bytes() was actually requesting that many
bytes as opposed to properly converting the expected object.
2020-01-04 17:52:31 +01:00
Lonami Exo
0683d9771a Update to layer 108 2019-12-31 10:43:05 +01:00
Lonami Exo
0af823e86c Add three new errors regarding polls 2019-12-26 22:30:07 +01:00
Lonami Exo
fa736f81af Handle all entity types on isinstance checks
Only the uses of `isinstance` against `InputPeer*` types were
reviewed. Notably, `utils` is exempt on this because it needs
to deal with everything on a case-by-case basis.

Since the addition of `*FromMessage` peers, any manual `isinstance`
checks to determine the type were prone to breaking or being
forgotten to be updated, so a common `helpers._entity_type()`
method was made to share this logic.

Since the conversion to `Peer` would be too expensive, a simpler
check against the name is made, which should be fast and cheap.
2019-12-23 13:52:07 +01:00
Lonami Exo
4499f3b95e Update to layer 106 2019-12-22 11:17:59 +01:00
Lonami Exo
b985dcd248 Fix 3.8 syntax warning and erroneous documentation
Closes #1340 (syntax warning)
Closes #1341 (outdated docs)
2019-12-05 11:14:02 +01:00
Lonami Exo
baacecadc5 Document some errors, bump v1.10.7 2019-10-27 18:50:21 +01:00
Lonami Exo
6206a1a524 Minor documentation update 2019-10-21 11:45:31 +02:00
Andrebcd4
40aa46e72a Sleep automatically on slow mode error too (#1279) 2019-09-24 11:37:41 +02:00
davtur19
b76bed3a40 Update errors' description (#1266) 2019-09-16 19:40:29 +02:00
davtur19
95ba02a9d3 Add new known errors (#1265) 2019-09-10 21:09:43 +02:00
Lonami Exo
9dd73cd494 Update to layer 105 2019-09-06 13:10:27 +02:00
Lonami Exo
00b0319397 Update to layer 104 2019-08-14 00:03:24 +02:00
Lonami Exo
f2a236eb57 Split scheme back into two files 2019-08-13 23:45:17 +02:00
Lonami Exo
b1eed82b7f Fix use of newer file IDs and add two new errors 2019-08-06 23:25:58 +02:00
Lonami Exo
48d6f15850 Update to layer 103 (again) 2019-07-20 12:26:11 +02:00
Lonami Exo
ae620db0c5 Better document MESSAGE_ID_INVALID 2019-07-20 11:15:29 +02:00
Lonami Exo
2ffd1e8e7c Clean-up usage of root directory in docs generation
Instead, make use of the current working directory.
This should ease most of it and remove noise, since
now root is just the current directory.
2019-07-17 10:11:52 +02:00
Lonami Exo
de46745926 Fix "methods returning this type" not accounting for vectors 2019-07-15 14:58:27 +02:00
painor
ae1c1b3912 Improve permission-related errors (#1231) 2019-07-10 23:19:50 +02:00
Lonami Exo
0ced884aa3 Fix wrong friendly methods mappings 2019-07-06 19:45:20 +02:00
Lonami Exo
97e4d83593 Rename and clarify docs for edit_permissions 2019-07-06 19:31:33 +02:00
Lonami Exo
8a0a18255a Update to layer 103 2019-07-05 12:27:20 +02:00