Commit Graph

148 Commits

Author SHA1 Message Date
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
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
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
Lonami Exo
ca0d39c4b7 Add missing append in get_chats 2023-11-09 18:09:13 +01:00
Lonami Exo
e6d7232ae9 Fix get_chats assertions 2023-11-09 18:03:25 +01:00
apepenkov
d32967eefe
Simplify mind-bending condition to continue checking handlers (#4247) 2023-11-09 17:40:48 +01:00
apepenkov
35fd0cc62b
Simplify Union of Literal types (#4246) 2023-11-09 17:13:19 +01:00
Lonami Exo
e1983b80c2 Treat messages.affected* as updateDeleteMessages 2023-11-08 23:03:24 +01:00
Lonami Exo
f9435aa1f6 Continue implementation 2023-11-08 14:07:33 +01:00
Lonami Exo
6047c689ca Add client.prepare_album 2023-11-07 19:34:10 +01:00
Lonami Exo
ae44426a78 Remove some slots from custom types for consistency
#4239.
2023-11-07 12:37:30 +01:00
Lonami Exo
95e1f5115c Improve setting of chat participants rights 2023-11-02 18:25:05 +01:00
Lonami Exo
48bf78a855 Fix getting and using participants 2023-11-02 14:40:20 +01:00
Lonami Exo
cea9fc6c77 Ensure __all__ are consistent 2023-11-02 12:43:06 +01:00
Lonami Exo
2992a8e212 Make filters combinable 2023-11-02 01:30:40 +01:00
Lonami Exo
2def0a169c Continue documentation and matching documented behaviour 2023-11-02 00:45:11 +01:00
Lonami Exo
6e88264b28 Support custom connectors 2023-10-29 21:45:21 +01:00
Lonami Exo
d80c6b3bb4 Remove utils file
This gets rid of awkward lazy imports as well.
2023-10-29 20:54:31 +01:00
Lonami Exo
8fe89496d6 Work towards message buttons 2023-10-28 20:17:48 +02:00