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
dcc450267f
Document new EMOTICON_INVALID error
2020-04-24 12:38:51 +02:00
Lonami Exo
c0e523508b
Update raw API method usability mapping
2020-04-06 17:44:22 +02:00
Lonami Exo
1ec38aa5b2
Update and clarify some docs
...
cc #1388 , #1396
2020-02-28 11:50:16 +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
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
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
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
davtur19
95ba02a9d3
Add new known errors ( #1265 )
2019-09-10 21:09:43 +02:00
Lonami Exo
00b0319397
Update to layer 104
2019-08-14 00:03:24 +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
9752f66eab
Minor updates to the documentation and errors
2019-06-07 15:48:34 +02:00
Manuel1510
27360242b0
Add new known errors ( #1196 )
2019-06-01 15:49:12 +02:00
Lonami Exo
e5485f3d54
Document raw methods with friendly variants
2019-05-26 21:15:43 +02:00
Lonami Exo
7c1c040d50
Update docstrings to have consistent style
2019-05-20 11:57:11 +02:00
Lonami Exo
313caf440e
Add friendly methods for archiving dialogs
2019-05-10 18:12:16 +02:00
Lonami Exo
68291c7b3d
Add new errors to the list of known ones
2019-04-06 11:46:57 +04:00
Lonami Exo
4cc2a17765
Deal with usability in methods that hit flood wait
2019-03-02 19:40:39 +01:00
Lonami Exo
dd1ca16ded
Update docs, usability and errors for all methods
2019-03-02 19:01:20 +01:00
Lonami Exo
33742c809a
Document BANNED_RIGHTS_INVALID
2019-01-23 14:37:40 +01:00
Lonami Exo
8f44364c6c
Add supports_streaming to send_file and update docs/errors
2019-01-21 19:47:17 +01:00
Lonami Exo
b0883148f5
Document more RPC errors
...
These two occur when replying to an inline query with a photo and
InputBotInlineMessageMediaAuto empty message, and passing URLs to
PNGs that may not be accessible (i.e. 403 from pixiv).
2019-01-17 16:51:50 +01:00
Lonami Exo
51f0bf5d84
Fully support email in edit_2fa
2019-01-14 13:57:07 +01:00
Lonami Exo
a5b107e6c9
Update documentation with takeout, add new known errors
2019-01-05 17:31:26 +01:00
Lonami Exo
1b424b3fe7
Update documentation to reflect new methods
2019-01-03 19:20:52 +01:00
Lonami Exo
b8912ea0aa
Add two MEDIA_*_INVALID to known errors
2018-11-30 21:54:00 +01:00
Lonami Exo
f646863149
Replace error and method data with CSV files
2018-11-30 21:38:36 +01:00