Lonami Exo
dc273ab6bc
Add utils.get_input_location
2018-04-27 21:11:13 +02:00
Lonami Exo
f16289cf93
Support download_file with None path to return bytes
2018-04-27 21:11:13 +02:00
Lonami Exo
b71511cd63
Fix saving update state in the SqliteSession
2018-04-27 21:11:13 +02:00
Lonami
9ef40102eb
Be more strict in the ISSUE_TEMPLATE
2018-04-26 19:00:45 +02:00
Lonami Exo
2a00bcaa12
Persist updates.State upon disconnection
2018-04-25 13:37:29 +02:00
Lonami Exo
e2a0de1913
Don't retry forever on TcpClient.connect()
2018-04-25 10:06:11 +02:00
Lonami Exo
5d9cf513bd
Update usage of deprecated methods in the docs
2018-04-25 09:55:34 +02:00
Lonami Exo
387a255221
Faster iter_messages by sleeping only as much as needed
2018-04-25 09:51:50 +02:00
Lonami Exo
ea404c5477
Add update_state table to persist pts and such
2018-04-23 21:16:09 +02:00
Lonami Exo
e616af8a70
Fix isfile should be isdir when pip installing locally
2018-04-23 20:52:27 +02:00
Lonami Exo
ab91bc2829
Add missing InputPhoto/Document -> InputMedia autocast
2018-04-23 15:33:44 +02:00
Lonami Exo
f31ca142a3
Support autocast to InputMessage
2018-04-23 11:05:38 +02:00
Lonami Exo
6ecef42ec7
Add search/filter/from_user parameters to iter_messages
2018-04-22 16:30:14 +02:00
Lonami Exo
544651caa7
Retry on RpcCallFailError
2018-04-22 16:30:00 +02:00
Lonami Exo
5dc43276bb
Add missing caption when sending Message with media
2018-04-20 09:44:33 +02:00
Lonami Exo
1c2e9d2f27
Fix reply_to didn't override Message's reply on sending them
2018-04-20 09:36:34 +02:00
Lonami Exo
b0dda777fe
Support omitting the entity on client.edit_message
2018-04-18 10:27:44 +02:00
Yifei Kong
03bebfb600
Fix tiny docstring typo ( #771 )
2018-04-17 13:01:23 +02:00
Lonami Exo
6893359f9d
Fix tiny error in a docstring for #764
2018-04-15 16:21:15 +02:00
Lonami Exo
53f7b6063c
Fix generate(["clean"]) usage on setup.py
2018-04-15 15:43:18 +02:00
Lonami Exo
f9b9fa6e70
Update to v0.18.3
2018-04-15 15:41:11 +02:00
Lonami Exo
6328e032e4
Fix local URLs on the generated docs
2018-04-15 14:59:07 +02:00
Lonami Exo
34f4730337
Add new examples to the docs and update project structure
2018-04-15 14:04:58 +02:00
Lonami
ffdfa8f262
Merge pull request #766 from LonamiWebs/tidygenerator
...
Tidy up the telethon-generator package
2018-04-15 13:21:26 +02:00
Lonami Exo
5a8f825db8
Use a sensible default for empty setup.py gen command
2018-04-15 13:20:56 +02:00
Lonami Exo
3ed81481f8
Enhance setup.py gen command
2018-04-15 13:19:25 +02:00
Lonami Exo
6058b80877
Further clean-up of the documentation generator
2018-04-15 12:15:43 +02:00
Lonami Exo
5b5edff624
Remove special case from documentation's formatter
2018-04-15 11:54:34 +02:00
Lonami Exo
b88a2ef208
Reuse more code to get class names
2018-04-15 11:47:33 +02:00
Lonami Exo
c18971da54
Add a new section in the docs listing known RPC errors
2018-04-15 11:18:26 +02:00
Lonami Exo
d0fb371515
Fix some documentation methods misusing relative paths
2018-04-15 10:59:04 +02:00
Lonami Exo
d924f97b58
Fix relative paths when generating documentation
2018-04-15 10:47:55 +02:00
Lonami Exo
1f8316c0bb
Fix import errors for the documentation generator
2018-04-14 21:15:58 +02:00
Lonami Exo
daebf5b7e8
Move docs generator into the telethon_generator package
2018-04-14 20:35:05 +02:00
Lonami Exo
3b7c4fe278
Further TLObject generator clean-up
...
Split everything into several functions, reused some more
common code (like accessing the "real" arguments instead
constantly filtering) and more, like using classmethods
instead staticmethods and then hardcoding the class name.
2018-04-14 20:28:25 +02:00
Jon Besga
0017ce30e6
Set client._authorized after log_out() ( #765 )
2018-04-14 19:15:33 +02:00
Lonami Exo
748f2db23d
Fix wrong camel case for all names
2018-04-14 19:04:07 +02:00
Lonami Exo
70f5af44de
Move data to its own subdirectory
2018-04-14 18:20:29 +02:00
Lonami Exo
0af4699994
Move tl_generator to generators/ and remove the class
2018-04-14 18:17:59 +02:00
Lonami Exo
200d3c0360
Clean-up unused methods and reuse more common utils
2018-04-14 17:22:39 +02:00
Lonami Exo
ab15f3699f
Clean-up the TLObject class/parser from redundant comments
2018-04-14 16:05:09 +02:00
Lonami Exo
fc1bc05ca1
Move tlobject and source_builder into their correct folders
2018-04-14 15:16:13 +02:00
Lonami Exo
ace715e059
Don't log broken packets as individual bytes
2018-04-14 15:02:27 +02:00
Lonami Exo
463fcedf27
Split error_generator code into parsers/generators packages
2018-04-14 13:56:39 +02:00
Lonami Exo
8b2afa3530
Separate error fetching from generation
2018-04-14 13:21:27 +02:00
Lonami Exo
75d37a3870
Handle web pages on .download_media
2018-04-14 13:07:50 +02:00
Lonami Exo
88597f0da8
Don't get full channel on iter_participants unless necessary
2018-04-14 12:08:50 +02:00
Lonami Exo
4da7df6349
Several documentation fixes and additions
2018-04-14 12:03:08 +02:00
Lonami Exo
a13863a4fb
Re-export events.Raw (removed on b7c3f80
)
2018-04-13 17:36:23 +02:00
Lonami Exo
1316e07dca
Add missing InputPeerSelf case to .get_entity()
2018-04-13 13:24:37 +02:00