Commit Graph
3118 Commits
Author SHA1 Message Date
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
Lonami Exo 033b56f1d3 Make pyright happy 2024-03-16 19:20:01 +01:00
Lonami Exo 854096e9d3 Fix typechecks and tests 2024-03-16 16:37:26 +01:00
Lonami Exo 3250f9ec37 Unify the way deserialization is returned 2024-03-16 15:00:38 +01:00
Lonami Exo b5db881415 Remove _out_pending_ack
Not really reliable.
Now that the sender has container IDs, it knows what to resend.
2024-03-16 14:10:40 +01:00
Lonami Exo c7d1a36969 Return serialized container MsgId on finalize 2024-03-16 14:06:12 +01:00
Lonami Exo 6fd3eb2ee6 Fix bytes type in autogenerated code confusing pylance 2024-03-16 14:01:53 +01:00
Lonami Exo 9ede5bd3c5 Fix formatting 2024-03-01 21:50:30 +01:00
Lonami Exo 2f4065c958 Improve session storage lifecycle 2024-03-01 21:49:44 +01:00
Lonami Exo 72e6229cc7 Fix interactive login would prompt 2fa forever 2024-03-01 21:15:55 +01:00
Lonami Exo fa693d068a Fix invalid escape sequences in docstrings 2024-03-01 20:51:25 +01:00
Lonami Exo aea459c293 Use consistent variable name in updates doc 2023-11-29 18:49:18 +01:00
apepenkov 70fb266eea Add ButtonCallback.get_message (#4250) 2023-11-11 19:29:42 +01:00
apepenkov ea65bf001e Add missing buttons parameter (#4251) 2023-11-10 17:58:48 +01:00
apepenkov 17996e8a9b Add alert param to ButtonCallback.answer (#4249) 2023-11-09 20:29:42 +01:00
apepenkov ba0371f89e Add events.filters.Data (#4248) 2023-11-09 19:28:18 +01:00