Commit Graph

3080 Commits

Author SHA1 Message Date
apepenkov
8fdc255468 add via_inline and message_id to ButtonCallback 2023-12-17 23:21:02 +03:00
apepenkov
7408a43495 fix Group.pack()'s PackedType check 2023-12-17 22:42:24 +03:00
apepenkov
f726d1dcc4 fix Channel.pack()'s PackedType check 2023-12-17 22:39:53 +03:00
apepenkov
508a0ab59e Implemented get_message, chat for types.UpdateInlineBotCallbackQuery for ButtonCallback event 2023-12-17 22:35:48 +03:00
Lonami
69e741f2cf
Update client/src/telethon/_impl/client/events/queries.py 2023-11-12 15:20:38 +01:00
apepenkov
51c2db90c4 replace chat with :term:chat in some docstrings: 2023-11-11 23:00:49 +03:00
apepenkov
c2509ade09 fix docstring typo in ButtonCallback.chat 2023-11-11 23:00:01 +03:00
apepenkov
8948c8cef9 update ButtonCallback to handle types.UpdateInlineBotCallbackQuery 2023-11-11 22:59:16 +03: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
apepenkov
4f4db020da
Fix typo in README (#4242) 2023-11-08 23:06:27 +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
4cc6ecc39b Use Sequence as input in generated functions 2023-11-07 19:40:09 +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
Lonami Exo
d15e84e595 Fix development installation instructions
Closes #4224.
2023-10-22 21:58:44 +02:00
Lonami Exo
257b5d74e9 Fix cyclic imports 2023-10-19 22:41:55 +02:00
Lonami Exo
b8b9836cf7 Work towards dialogs and drafts 2023-10-19 21:36:54 +02:00
Lonami Exo
864d5cd444 Gracefully handle user-invoked disconnects 2023-10-19 19:28:00 +02:00
Lonami Exo
854d3745b3 Handle dispatcher CancelledError during disconnect 2023-10-18 20:38:45 +02:00
Lonami Exo
c49f0827b1 Don't send requests until there are salts
This way we don't waste resources sending containers that may fail.
2023-10-18 20:35:55 +02:00
Lonami Exo
45f866c335 Fix handling of bad_msg 16 and 17 2023-10-18 20:31:09 +02:00
Lonami Exo
5604f530c0 Fix handling of bad_msg referring to containers 2023-10-18 19:51:18 +02:00
Lonami Exo
186dd38ff4 Save session in complete_login 2023-10-17 20:45:52 +02:00
Lonami Exo
4465644aa1 Fix pack implementations 2023-10-17 18:50:06 +02:00
Lonami Exo
34dffe978e Fix file uploads and references to full_name 2023-10-16 23:06:24 +02:00
Lonami Exo
0727c1d1f1 Continue improving documentation 2023-10-16 20:12:16 +02:00
Lonami Exo
04806a2a4a Create a base class for Chat 2023-10-16 20:12:00 +02:00
Lonami Exo
c4d399e32d Add missing await in get_password_information 2023-10-16 20:10:05 +02:00
Lonami Exo
8e616bc85a Add client to readthedocs requirements 2023-10-16 18:43:31 +02:00
Lonami Exo
8c0654185d Version .tl files 2023-10-16 18:36:20 +02:00
Lonami Exo
2f6ea3497a Use custom build backend for the client package 2023-10-16 18:32:12 +02:00
Lonami Exo
957a66f797 Move generator parser methods to parser 2023-10-16 18:31:42 +02:00
Lonami Exo
5416e4d5c0 Fix installation of generator 2023-10-16 17:19:56 +02:00
Lonami Exo
953f6f11c5 Add .readthedocs.yaml 2023-10-15 21:16:50 +02:00