Dan
538f1e3972
Deep rewrite: preparing for v1.0
...
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00
CyanBook
c8c6faa96e
Change logging hierarchy for loading plugins ( #451 )
...
Loading plugins shouldn't be considered a warning
2020-08-21 07:28:27 +02:00
Dan
b16c5d5fa3
Update Pyrogram's sticker file id
2020-07-27 15:12:24 +02:00
Dan
4a8e6fb855
Cleanup
2020-07-09 02:24:01 +02:00
Octo
1e8c9812a1
Add support for downloading files to file pointer, fix for https://github.com/pyrogram/pyrogram/issues/284
2020-07-08 23:59:02 +02:00
Dan
42cd135009
Add missing download_media progress example
2020-03-30 14:39:16 +02:00
Dan
1996fb1481
Update Copyright
2020-03-21 15:43:32 +01:00
Dan
42c9bafa0c
Update copyright notice
2020-02-01 14:04:33 +01:00
Dan
51cd186559
Fix group, channel and supergroup ChatPhoto downloads
...
Closes #326
2019-10-19 16:24:23 +02:00
Dan
91d3508c13
Rename encode/decode to encode/decode_file_id
2019-09-21 22:17:42 +02:00
Dan
92c1b48132
Fix FILE_REFERENCE_* errors for uploads
2019-09-21 22:13:02 +02:00
Dan
1cd94520bf
Fix FILE_REFERENCE_* errors for downloads
2019-09-21 21:12:11 +02:00
Dan
6bbd79db86
Update download_media and util methods to work with new file_id formats
2019-08-02 02:33:52 +02:00
Dan
11ea15aa08
Fix yet another compatibility issue with Path objects and Python 3.5
2019-07-28 09:32:35 +02:00
Dan
2dec2442e5
Add examples to all available methods
2019-07-25 11:22:14 +02:00
Dan
82efc9a154
Small documentation fix
2019-07-09 19:03:15 +02:00
Dan
80d8443be4
Fix script executions not working outside the current directory
...
Fixes #41
2019-06-15 23:02:31 +02:00
Dan
83af58258c
Fix download_media ignoring the file_name argument
2019-06-11 20:36:09 +02:00
Dan
c65e210c03
Fix FileData namedtuple using Python 3.7+ features
2019-06-07 18:48:34 +02:00
Dan
0340271b33
Refactor docstrings
2019-05-30 15:23:43 +02:00
Dan
55599e33c6
Rework download_media to accommodate L100 changes
2019-05-29 10:40:37 +02:00
Dan
b6ea451ee5
Reword some method return type docstrings
2019-05-17 13:44:44 +02:00
Dan
ef912d21ef
Use more concise and cleaner description of a method and a type
2019-05-12 19:49:06 +02:00
Dan
1737ba5f49
Revamp docs about the main Pyrogram package
2019-05-09 04:28:46 +02:00
Dan
b5c6db6db0
Refactor project and move errors namespace out from pyrogram.api
2019-03-25 11:23:45 +01:00
Dan
921800f902
Clean up docstrings
2019-03-22 11:53:25 +01:00
Dan
3e18945f3c
Reformat code
2019-03-16 19:23:23 +01:00
Dan
def3bdaa63
Reformat code
2019-03-16 17:51:37 +01:00
Dan
2791600926
Hint about the returned value in case of stopped downloads
2019-01-11 14:12:53 +01:00
Dan
4d7b1bafac
Update copyright year
2019-01-01 12:36:16 +01:00
Dan
5dcc19cfb3
Move download_media into messages and media namespace
2018-12-28 15:18:01 +01:00