wulan17
8655deb92c
pyrofork: moar cleanups
...
Signed-off-by: wulan17 <wulan17@komodos.id>
2025-04-03 22:31:37 +07:00
wulan17
3e24f006e0
pyrofork: Cleanup codes
...
Signed-off-by: wulan17 <wulan17@komodos.id>
2025-03-29 00:25:16 +07:00
shriMADhav U k
d501b66f93
Add unknown_errors
...
Improve error messages.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:32 +07:00
wulan17
1b3f0933c7
Pyrofork: Update Copyright headers
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:25:08 +07:00
Cezar H
8aee144313
Added Conversation Support Based on Pyromodv2
...
Co-authored-by: Alisson Lauffer <alissonvitortc@gmail.com>
Co-authored-by: Yasir Aris M <git@yasirdev.my.id>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-11-25 21:51:41 +07:00
Dan
b23e34494e
Add messages for mismatched checks
2022-12-25 15:08:02 +01:00
Dan
0e3c2e4412
Rename RPCError.x to RPCError.value
2022-04-24 11:56:07 +02: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
Dan
56e7e11037
Use a specialized exception for handling BadMsgNotification
2021-12-22 14:01:05 +01:00
Dan
8aa358129c
Use specialized exceptions for handling security checks
2021-12-16 21:38:24 +01:00
Dan
b6f97ee924
Add support for signed error codes
2021-04-12 09:19:50 +02:00
Dan
7dda167c09
Update copyright notice
...
Year 2021
2021-01-01 22:58:48 +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
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
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
aa135ea457
Reformat project
2019-08-01 19:11:43 +02:00
Dan
ee2d5b1315
Fix RPCError raising an error itself because of non-optional args
2019-07-09 19:03:37 +02:00
Dan
59b43af02e
Fix RPCError not setting the x attribute
2019-06-28 20:43:06 +02:00
Dan
fa1b66f914
Make unknown errors with known error codes inherit from base categories
2019-06-27 11:59:44 +02:00
Dan
b5c6db6db0
Refactor project and move errors namespace out from pyrogram.api
2019-03-25 11:23:45 +01:00