Commit Graph

3133 Commits

Author SHA1 Message Date
Jahongir Qurbonov
92c115733d Refactor handle_migrate 2024-10-16 18:43:45 +05:00
Jahongir Qurbonov
d0e2e46c82 Add update event 2024-10-16 17:42:34 +05:00
Jahongir Qurbonov
ca97078855 Improve step runner 2024-10-16 15:44:14 +05:00
Jahongir Qurbonov
88b332a498 Remove unnecessary call 2024-10-16 12:05:07 +05:00
Jahongir Qurbonov
c3aff20c18 Upgrade minimal python version 2024-10-16 11:56:45 +05:00
Jahongir Qurbonov
66daed2584 Fix review issues 2024-10-16 11:48:06 +05:00
Jahongir Qurbonov
d99e776e2b Rewrite sender 2024-10-15 17:36:16 +05:00
Jahongir Qurbonov
2ad5e9658d Refactor sender 2024-10-15 00:10:56 +05:00
Jahongir Qurbonov
6b6714c8b5 Ignore .venv 2024-10-15 00:10:56 +05:00
Jahongir Qurbonov
bc5a7206ac Fix typo 2024-10-15 00:10:56 +05:00
Jahongir Qurbonov
fe733aad97
Upgrade cryptg (#4486) 2024-10-14 18:32:38 +02:00
Jahongir Qurbonov
9b18304e9c
Improve updates handling (#4483) 2024-10-11 16:57:18 +02:00
Jahongir Qurbonov
771954d010
Add HiddenKeyboard and ForcedReplyKeyboard custom types and improve type annotation (#4481) 2024-10-08 21:13:13 +02:00
Jahongir Qurbonov
61642c04a5
Add py.typed marker (#4477) 2024-10-07 11:47:33 +02:00
Jahongir Qurbonov
86d41e1f06
[V2] Upgrade ruff and mypy version, format files (#4474) 2024-10-06 20:05:11 +02:00
Jahongir Qurbonov
918f719ab2
Fix default keyboard argument (#4459) 2024-09-09 18:47:39 +02:00
Jahongir Qurbonov
2e33e4075d
Further improve type annotations (#4449) 2024-09-01 21:18:38 +02:00
Jahongir Qurbonov
d9ef60782a
Improve type annotations (#4448) 2024-08-31 22:48:11 +02:00
Jahongir Qurbonov
6253d28143
Fix type annotation for keyboard buttons (#4438) 2024-08-21 19:28:16 +02:00
Jahongir Qurbonov
babeba46d3
Use custom type for Keyboard and rename filter type (#4436) 2024-08-21 16:41:06 +02:00
Jahongir Qurbonov
ee3248c3a4
Fix async filter call in combinators (#4435) 2024-08-19 18:24:56 +02:00
Jahongir Qurbonov
eb7ed5dd31
Support asynchronous filters (#4434) 2024-08-18 23:01:36 +02:00
xplus2g4
2ab4bed02d
Fix client.on() type hint (#4415) 2024-07-24 16:39:25 +02:00
Nazar Taran
65a4a96dbc
Fix self_user setting in chat_hashes (#4402) 2024-07-02 16:52:13 +02:00
Lonami Exo
26c32f31d2 Fix step_sender could deadlock 2024-06-29 17:47:01 +02:00
Lonami Exo
94048d9102 finalize does not need to return last_msg_id 2024-06-07 22:14:40 +02:00
Lonami Exo
4536667a6a Fix formatting 2024-06-07 22:14:17 +02:00
Lonami Exo
998f7d3fd9 Clean-up trace logs of messagebox 2024-06-04 23:10:41 +02:00
Lonami Exo
751b537fe1 qts_count is always assumed to be 1
Per the docs https://core.telegram.org/api/updates:
> events are never grouped,
> so it's assumed that qts_count is always equal to 1.
2024-06-04 23:10:41 +02:00
Lonami Exo
b8d656efa5 Add events.Raw 2024-06-04 22:00:49 +02:00
chiri
44aed4cadb
Use current year when building documentation (#4354) 2024-04-19 17:20:31 +02:00
Lonami Exo
9d17f36f7a Introduce PeerRef.SELF 2024-04-05 18:25:31 +02:00
Lonami Exo
c9006024e2 Document get_messages has no default limit 2024-04-03 16:49:47 +02:00
nzooherd
bf3e3d8797
Fix typo in docs example (#4331) 2024-03-26 20:31:54 +01:00
Lonami Exo
38241dffd2 Migrate from chat to peer 2024-03-18 18:55:23 +01:00
Lonami Exo
1dba3ae6d0 Rename chats.rst to peers.rst 2024-03-18 18:03:55 +01:00
Lonami Exo
e7b5cbffb1 Fix copy_client_signatures after type changes 2024-03-17 18:26:37 +01:00
Lonami Exo
46223bcbcc Rename PackedChat type to PeerRef 2024-03-17 13:21:26 +01:00
Lonami Exo
7e413e4ee2 Rename packed file to peer_ref 2024-03-17 13:17:03 +01:00
Lonami Exo
c95e979119 Rename Chat base class to Peer 2024-03-17 13:14:44 +01:00
Lonami Exo
031c128fef Rename chat file to peer 2024-03-17 13:11:48 +01:00
Lonami Exo
d77efe3513 Rename chat folder to peer 2024-03-17 13:10:50 +01:00
Lonami Exo
8267f5d590 Use modern typehint syntax 2024-03-17 13:06:03 +01:00
Lonami Exo
9afe2f853d Fix footgun in get_chats 2024-03-16 23:45:58 +01:00
Lonami Exo
c15d07aa16 Fix update dispatcher stops after first error 2024-03-16 23:45:47 +01:00
Lonami Exo
11c0dc45f2 Extend FAQ with CancelledError causes 2024-03-16 23:45:09 +01:00
Lonami Exo
31a4d21c41 Change the way flood_sleep_threshold behaves 2024-03-16 21:09:00 +01:00
Lonami Exo
183d07ff25 Update documentation 2024-03-16 21:08:48 +01:00
Lonami Exo
837258f4c8 Export __version__ from root 2024-03-16 19:51:51 +01:00
Lonami Exo
0e48a01ef4 Remove text stripping 2024-03-16 19:32:27 +01:00