Dan
1e6209da3b
Add support for email sign in codes
...
Fixes #1183
2022-12-30 15:55:52 +01:00
Dan
9bf742abc0
Introduce back some previously reverted changes
2022-12-27 13:40:42 +01:00
Dan
bff583ed75
Revert some of the latest changes
2022-12-26 22:26:55 +01:00
Dan
01cd8bb57f
Optimize log calls
2022-12-26 16:38:12 +01:00
Dan
7e5d593544
Keep lang_code lowercase
2022-12-26 16:19:26 +01:00
Dan
b23e34494e
Add messages for mismatched checks
2022-12-25 15:08:02 +01:00
omg-xtao
c4a47b99ae
Add support for Fragment SMS codes ( #1170 )
2022-12-23 20:36:00 +01:00
Dan
a9e7d15bf6
Add a watchdog for incoming updates
2022-12-23 15:40:56 +01:00
Anton Kovalevich
a76269ddaf
Handle all given updates, avoid short circuit ( #1162 )
2022-12-12 21:53:09 +01:00
Dan
4edaa21c19
Don't create download dirs for in-memory downloads
2022-09-20 16:39:53 +02:00
Dan
71f263b30d
Re-raise asyncio.CancelledError to avoid continuations
2022-09-18 17:55:50 +02:00
Dan
3940ca9611
Revamp handling of partial downloads
2022-09-18 17:32:02 +02:00
Nyan
468ebf50cf
Add tempfile deletion in case of asyncio task cancellation. ( #1080 )
2022-09-18 17:24:51 +02:00
Dan
d71db29a8c
Store the "me" user object
2022-06-20 10:28:49 +02:00
Dan
956e5c1a4f
Clean up on download's stop_transmission and return None
2022-05-04 09:04:25 +02:00
Evgen Fil
795ffc027a
Allow non-interactive migration from storage v2 to v3 ( #979 )
2022-04-29 12:40:19 +02:00
Hitalo
045fe0bf21
Remove wrong Client.parse_mode assignment ( #973 )
2022-04-27 09:13:47 +02:00
Dan
6e3dbbde5a
Allow passing the api_id as string
2022-04-24 21:20:13 +02:00
Dan
228b45b179
Update docstrings
2022-04-24 21:19:36 +02:00
lordcodes
240659f616
Close the downloaded file before moving it ( #964 )
...
* download media on windows fix
mmmmmmmm
* Style fixes
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-04-24 17:06:45 +02:00
Dan
c799703965
Fix plugins loading
2022-04-24 13:11:54 +02:00
Dan
822e09ae13
Update Client's docstrings
2022-04-24 11:56:07 +02:00
Dan
ade31f8989
Update the session string format
2022-04-24 11:56:07 +02:00
Dan
3e33ef0c0d
Add support for media streams with the method stream_media
2022-04-24 11:56:07 +02:00
Dan
01ca652f8c
Add support for in-memory downloads
2022-04-24 11:56:07 +02:00
Dan
296b866234
Improve performance by adding a message cache
2022-04-24 11:56:07 +02:00
Dan
124bcb4db7
Remove API key requirement for existing sessions
2022-04-24 11:56:07 +02:00
Dan
b47591e6d2
Turn examples asynchronous
2022-04-24 11:56:07 +02:00
Dan
41f16a17c9
Fix filters.command not working with multiple running bots
...
Closes #864
2022-04-24 11:56:07 +02:00
Dan
78efb04b40
Rename Client.send to Client.invoke
2022-04-24 11:56:07 +02:00
Dan
32624ef5e6
Improve type hints
2022-04-24 11:56:06 +02:00
Dan
bbad58a83f
Add enumerations
2022-04-24 11:56:06 +02:00
Dan
58eb10a676
Remove unneeded try...except block
2022-03-14 12:07:34 +01:00
Dan
626a1bd938
Update copyright year
2022-01-07 10:23:45 +01:00
Dan
8c8288412f
Various improvements
2022-01-07 10:18:51 +01:00
Dan
a3fab6af4b
Merge branch 'mtproto-checks'
...
# Conflicts:
# pyrogram/errors/__init__.py
# pyrogram/session/session.py
2021-12-24 16:28:29 +01:00
AduchiMergen
ef6125b57a
Fix -503 Timeout errors #664 ( #812 )
2021-12-20 20:22:56 +01:00
Dan
8aa358129c
Use specialized exceptions for handling security checks
2021-12-16 21:38:24 +01:00
Alisson Lauffer
df4419da8f
Make parse_mode always lowercase ( #575 )
...
* Make parse_mode always lowercase
* Update client.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-05-12 08:49:48 +02:00
Dan
2eef1d5fcf
Accommodate changes to photo file ids
2021-04-26 16:00:21 +02:00
Jonathan
73a1fee28a
Fix stackable plugin decorators with include/exclude directives ( #643 )
...
* combination of decorators with plugins has solved
* fixing last pr: allow stackable plugin decorators even in exclude and include as well.
* counting plugins has fixed
* fix indentation
* Update client.py
* Update client.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-03-18 11:34:36 +01:00
Jonathan
f0b1cc41f3
Allow decorators in plugins to be stacked ( #642 )
...
This allows registering the same callback function more than once by using different handlers.
2021-03-17 20:07:54 +01:00
Dan
d7f2bd9030
Fix some index out of range errors
...
Closes #601
2021-02-27 19:02:52 +01:00
Dan
7dda167c09
Update copyright notice
...
Year 2021
2021-01-01 22:58:48 +01:00
Dan
820fe2cbcd
Fix thumbnail downloads
2021-01-01 22:21:06 +01:00
Dan
18b3ca1892
Simplify mime types guessing and remove unused code
2020-12-20 17:58:35 +01:00
Alisson Lauffer
1dc4df8cb1
Improve typing hints ( #537 )
...
* Change type1 or type2 to Union[type1, type2]
* Address @KunoiSayami suggestions
* Change Union[type1, None] to Optional[type1]
* Update PR with latest commit changes
* Address Dan suggestions
2020-12-20 17:05:17 +01:00
Dan
521e403f92
Fix peer ids decoding from file ids
2020-12-07 19:15:46 +01:00
Dan
a4566de2ef
Add support for the new Bot API fields: file_id, file_unique_id
...
Remove file_ref from Pyrogram's API
2020-11-27 22:09:17 +01:00
Dan
4632879ee4
Changes for L119
2020-09-30 20:26:57 +02:00