Commit Graph

261 Commits

Author SHA1 Message Date
Manuel1510
27360242b0 Add new known errors (#1196) 2019-06-01 15:49:12 +02:00
Lonami Exo
e4158acd08 Update to layer 100 2019-05-30 13:23:47 +02:00
Lonami Exo
e5485f3d54 Document raw methods with friendly variants 2019-05-26 21:15:43 +02:00
Lonami Exo
80f19bd1f0 Point to the new domains 2019-05-22 11:29:46 +02:00
Lonami Exo
7c1c040d50 Update docstrings to have consistent style 2019-05-20 11:57:11 +02:00
Lonami Exo
a4c2e45d6d Handle more key errors on forward message 2019-05-17 12:30:13 +02:00
Lonami Exo
313caf440e Add friendly methods for archiving dialogs 2019-05-10 18:12:16 +02:00
Lonami Exo
e408550553 Update to layer 99 2019-05-09 21:21:50 +02:00
Lonami Exo
7f88238d8f Update external links to the documentation 2019-05-09 14:09:22 +02:00
Lonami Exo
5ed7bf7815 Fix timeout error not being excepted on Button.click 2019-05-05 19:57:09 +02:00
Lonami Exo
84c197be60 Better clean command in setup.py 2019-05-04 17:51:14 +02:00
Lonami Exo
1e17ef1c98 Apply several lints 2019-05-03 21:38:41 +02:00
Lonami Exo
63ef7284f7 Use classes when type hinting primitives 2019-05-02 19:12:11 +02:00
Lonami Exo
fce5cfea0e Update code generator to emit type hints on init methods 2019-05-02 10:19:15 +02:00
Lonami Exo
21aec00e46 Fix downloading photos with download_file (#1164) 2019-04-24 12:37:19 +02:00
Lonami Exo
08f8aa3c52 Be deterministic when generating TLObjects 2019-04-24 09:40:39 +02:00
Lonami Exo
bb23bc0fd2 Finish update to layer 98 2019-04-22 19:05:25 +02:00
Lonami Exo
013525797a Fix date_* attributes not being of type datetime 2019-04-22 17:07:08 +02:00
Lonami Exo
8868ce14e8 Update to layer 98 2019-04-22 16:51:05 +02:00
Lonami Exo
68291c7b3d Add new errors to the list of known ones 2019-04-06 11:46:57 +04:00
Lonami Exo
21a8a50ab9 Remove unwanted autocast in messages.discardEncryption 2019-04-05 10:31:43 +04:00
Lonami
3126533a33
Update to layer 97 2019-03-24 18:14:18 +01:00
Lonami Exo
7c48857d0c Update docs for send_file/timeouts and add new known error 2019-03-18 17:34:48 +01:00
Lonami Exo
a5f5d6ef23 Minor doc updates, fixes and improvements
In particular, removed code which no longer worked, made light
theme easier on the eyes, added slight syntax highlightning,
and fixed search for exact matches.
2019-03-16 17:19:19 +01:00
Lonami Exo
ae8f1fed05 Treat arguments with _until or _since in their name as dates 2019-03-06 08:38:21 +01: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
05d174d4ce Update documentation, errors and add TODOs 2019-02-27 19:30:12 +01:00
Lonami Exo
0934f71c02 Update to layer 95 2019-02-21 12:40:47 +01:00
Lonami Exo
628a16f287 Document new errors and limits for inline results 2019-02-14 19:45:25 +01:00
Lonami Exo
5c85f830bd Further document automatic photo resizing 2019-02-13 09:58:02 +01:00
Lonami Exo
cf867954c3 Support any of /sS to focus docs search 2019-01-26 13:15:27 +01:00
Lonami Exo
c11d71c3cd Fix docs generation on Windows and search bar 2019-01-26 13:15:27 +01:00
Lonami Exo
86a8928278 Better error diagnostics and fix parsing errors.csv 2019-01-24 11:02:58 +01:00
Lonami Exo
33742c809a Document BANNED_RIGHTS_INVALID 2019-01-23 14:37:40 +01:00
Lonami Exo
bb5c1f24c6 Update to layer 93 2019-01-21 20:09:13 +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
d892a537a7 Support get_peer on participants and clarify some strings 2019-01-07 16:13:37 +01:00
Lonami Exo
b57e3e3e0a Fix some open calls were not being made through pathlib
This was causing the documentation to fail to build under Python 3.5.
2019-01-06 21:36:32 +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
342a4dd502 Update to v1.5 2018-12-25 17:55:15 +01:00
Lonami Exo
100cd807f6 Better GetAdminLogRequest example 2018-12-25 14:17:19 +01:00
Lonami Exo
fb9796a293 Pre-create directory structure when generating docs
This reduces the amount of system calls
from thousands to a few dozens at most.
2018-12-24 18:16:18 +01:00
Lonami Exo
ffc0a8808b Revert docs search to use onkeyup or last keystroke is ignored 2018-12-24 18:04:13 +01:00
Lonami Exo
24986bbea0 Update to layer 91 2018-12-23 11:03:14 +01:00
Lonami Exo
aefa429236 Make complete use of pathlib (fix up 8224e5a) 2018-12-21 18:18:18 +01:00
Lonami Exo
8224e5aabf Make use of pathlib nearly everywhere (breaks docs gen)
Python 3.6 introduced support for the os.PathLike interface,
which means Python 3.5 did not have it yet and attempting to
use it in os functions would fail. Instead we can use pathlib
for everything, but not all work is done yet.
2018-12-21 13:24:16 +01:00