Commit Graph

3145 Commits

Author SHA1 Message Date
Lonami Exo
980a2c0aa7 Update to layer 221 2026-01-04 17:36:29 +01:00
欧阳
f3bd039f85
Add errors for chat restrictions (#4729) 2026-01-03 19:24:06 +01:00
Lonami Exo
5efa1fe2ed Update proxy docs and warn if python-socks is not installed
As suggested in #4505.
2025-12-30 11:18:49 +01:00
Lonami Exo
05b8488858 Fix Telethon could not be imported without sqlite3
Closes #4723.
2025-12-18 17:44:05 +01:00
Colin Watson
664ceba2c5
Fix TestSyncifyAsyncContext.test_sync_acontext on Python 3.14 (#4722)
`asyncio.get_event_loop` fails on Python 3.14 if there is no current
event loop.  For this particular test of sync behaviour, it seems to
make most sense to explicitly create one.
2025-12-17 08:11:32 +01:00
Lonami Exo
676c4364f5 Update to layer 220 2025-12-06 22:41:26 +01:00
Lonami Exo
c1f3f924d9 Fix iter_messages crash on scheduled and reverse
Closes #4719.
2025-11-18 23:07:07 +01:00
Lonami Exo
5f69650e38 Update to layer 218 2025-11-15 20:08:53 +01:00
Lonami Exo
302a9a8c5f Partially revert "Implement perfect forward secrecy for MTProto (#4618)"
This partially reverts commit 5a3a94eb51.
It should be re-introduced once the rest of comments are addressed.

Session changes are kept for the future, even if unused for now,
as there may be people who have already upgraded their session.
2025-11-13 18:09:38 +01:00
habcawa
5a3a94eb51
Implement perfect forward secrecy for MTProto (#4618) 2025-11-07 23:45:56 +01:00
Lonami Exo
afe900f45d Bump to v1.42 2025-11-05 20:10:16 +01:00
Lonami Exo
369bfe1a2a Fix path traversal when downloading documents
Closes #4713.
2025-10-19 19:24:03 +02:00
Lonami Exo
baf35e9e7e Fix Python 3.14 support
By lazily initializing loop-related properties.
Closes #4712.
2025-10-18 20:53:14 +02:00
Lonami Exo
c92c1ae6b1 Update to layer 216 2025-10-10 20:56:25 +02:00
Steve Kowalik
72f4ac0de5
Stop using the event_loop fixture (#4670) 2025-09-21 17:43:53 +02:00
marfer
82a24d6b53
Correct handling of trailing zeros in _rle_encode (#4702) 2025-09-21 17:43:34 +02:00
iLuisTheDev
859a83a1a5
Add BotCommandsTooMuchError class (#4700) 2025-09-13 17:50:23 +02:00
Nick80835
2b56fa91bb Bump to v1.41.2 2025-09-04 21:07:44 +02:00
Nick80835
2d5fad6565 Ensure document spoiler is preserved in utils.get_input_media 2025-09-04 21:07:44 +02:00
Lonami Exo
ba201b9189 Bump to v1.41.1 2025-09-04 19:52:24 +02:00
Lonami Exo
bc5c5d54b1 Fix incorrect async session warning 2025-09-04 19:52:00 +02:00
Darskiy
ee778ba763 Revert "Fix spoilers when sending InputPhoto and InputDocument"
This reverts commit 45a546a675.
2025-09-04 19:45:43 +02:00
Lonami Exo
5d07348faf Bump to v1.41 2025-09-01 17:33:19 +02:00
WildBeeJS
293f8d5bd9
Update to layer 214 (#4695) 2025-09-01 17:08:24 +02:00
Darskiy
a28e757dc3
Update to layer 211 (again) (#4683) 2025-08-15 14:04:22 +02:00
Lonami Exo
e77307d0ed Update to layer 211 2025-08-01 23:41:45 +02:00
Humberto Gontijo
d80898ecc5
Add experimental support for async sessions (#4667)
There no plans for this to ever be non-experimental in v1.
2025-07-28 17:03:31 +02:00
Deer-Spangle
45a546a675 Fix spoilers when sending InputPhoto and InputDocument
After this was reported as a problem for MessageMediaPhoto objects in #4584, it was fixed in commit 37e29e8, but the problem exists for InputPhoto and InputDocument, also. This commit fixes that
2025-07-25 21:04:31 +02:00
WildBeeJS
e168602511
Update to layer 210 2025-07-25 16:45:16 +02:00
Humberto Gontijo
01af2fcca3
Reduce data manipulation operations 2025-07-24 21:46:28 +02:00
humbertogontijo
b59c005903 Add isal gzip decompressor 2025-07-24 08:17:43 +02:00
wkpn
5e150ddf1e Update to layer 209 2025-07-15 17:20:11 +02:00
Darskiy
7d0fadea29 Update to layer 207 2025-07-08 19:51:55 +02:00
Egor
aa17aa65ec
Update to layer 206 (#4654) 2025-07-02 20:38:24 +02:00
UZQueen
31e8ceeecc
Handle cases when Message.reply_to is MessageReplyStoryHeader 2025-06-07 12:27:29 +02:00
Devesh Pal
7b00d2f510 Update to layer 204 2025-06-04 17:08:25 +02:00
zeticsce
17a014906e
Support tg-emoji tag when using html parse_mode 2025-06-03 22:47:39 +02:00
Darskiy
f61518274e
Cleanup usage of removed inline_only parameter (#4630) 2025-05-30 23:18:58 +02:00
Darskiy
8bb2ec30fe
Add persistent and placeholder options to buttons (#4629) 2025-05-28 18:21:50 +02:00
Aayco (Coder)
69e4493c04
Add custom error types for new FROZEN codes 2025-05-26 21:04:26 +02:00
yzx23333
1db71f6d7d Add customizable 'mime_type' for send_file 2025-05-25 17:32:41 +02:00
Darskiy
663a1808a1
Update FileLike type hint to better reflect valid types (#4620) 2025-05-20 22:13:43 +02:00
Darskiy
59da66e105 Update to layer 203 2025-05-13 23:21:34 +02:00
wkpn
6625327b4f Add ChannelForbidden check to utils.get_display_name 2025-05-13 23:05:07 +02:00
Maxsim Smirnov
20434e5a9d Update to layer 202 2025-05-05 20:03:56 +02:00
AEIMS
6a7331b7dc
Add open_url param to control browser opening on click (#4607) 2025-05-04 22:01:55 +02:00
Lonami Exo
77b7edcd6e Also process updates entities with session 2025-04-24 17:36:21 +02:00
Lonami Exo
04922fee3c Stop re-saving input peers on disconnect
This was overwriting actual information on the cache.
2025-04-23 19:21:36 +02:00
Lonami Exo
b2809e0b57 Apply seq if all updates were applied
Instead of only checking if *any* update *with pts* was applied.
Should fix #4602.
2025-04-23 18:25:22 +02:00
Lindsay Zhou
ae9c798e2c Add send_as and message_effect_id for client send_file test
new parameters introduced by 859f7423f2
2025-04-22 17:46:50 +02:00