Nick80835
551c24f3e4
Fix overlapping URLs and improve overlapping in md
...
Also remove the unused overlap function.
2025-02-02 04:11:46 +01:00
Nick80835
38d024312e
Unconditionally match text and link text in markdown
...
Fixes cases where there's a nested [] in the text by matching until "](" is reached. This doesn't match newlines in URLs because that makes no sense.
2025-02-01 21:02:27 +01:00
Nick80835
a2926b548f
Update to layer 198
2025-01-28 18:23:18 +01:00
Nick80835
455acc43f6
Improve edit_message message type hint
...
This also allows utils.get_message_id to get the ID of InputMessageID.
2025-01-19 10:40:11 +01:00
Nick80835
792adb78b3
Respect receive_updates=False
2025-01-18 19:03:57 +01:00
Nick80835
5a0e69693b
Document drop_author and add drop_media_captions
...
drop_author is already supported but is undocumented. drop_media_captions for consistency with drop_author being implemented.
2025-01-17 17:02:42 +01:00
Nick80835
b9aafa3441
Fix IOError with some image modes in photo resize
...
This fixes image compression with mode "P" (potentially others) which is necessary as the server has erroneous alpha color with some types of images (mode "P" for example). This also properly applies the background argument that may be passed to _resize_photo_if_needed by always compressing images with alpha regardless of whether the server will compress the image for us.
2025-01-13 20:37:36 +01:00
Nick80835
494b20db2d
Add missing parameters to Message constructor ( #4529 )
2025-01-04 19:29:19 +01:00
Danish
0a6b649ead
Updated to Layer 196 ( #4525 )
2025-01-04 15:15:50 +01:00
Lonami
cfce68e9ad
Avoid error when trying to reset deadline for no msgbox entries
...
Closes #4520 .
2024-12-22 15:07:35 +01:00
Lonami Exo
b09c8c83f7
Update to layer 195
2024-12-15 12:31:27 +01:00
Danipulok
225ea9c3ab
fix(session): persist session after session.set_dc
2024-11-20 17:25:56 +01:00
Lonami Exo
9ca3b599fc
Fix Python 3.6 compatibility
...
Introduced on accident by #4475 .
2024-11-18 17:04:07 +01:00
Lonami Exo
63d55bbe3d
Bump to v1.38
2024-11-17 22:32:16 +01:00
Lonami Exo
c9cce8aa81
Update to layer 193
2024-11-17 22:23:37 +01:00
Colin Watson
70098c58a5
Fix test broken by removal of imghdr
...
This has been broken since bd11564579
.
2024-11-06 16:23:33 +01:00
Colin Watson
769b65efb1
Exclude sign_up from test_all_methods_present
...
The sign_up method was deprecated in
07a7a8b404
and removed from the
documentation, but since the method technically still exists (even
though it immediately raises ValueError), that broke a test.
2024-11-06 16:23:33 +01:00
Devesh Pal
f03e4b1137
Update to Layer 192 ( #4503 )
2024-10-31 22:10:02 +01:00
Greg Eremeev
a77835a7d9
Fix reuse of captions during send msg with file ( #4500 )
2024-10-25 23:27:58 +02:00
Mohsen
85c4a91317
Fix typos in FAQ section ( #4498 )
2024-10-24 18:56:15 +02:00
Arkadii Halchenko
3f589b287d
Fix parse_mode with albums ( #4494 )
...
Closes #4492 .
2024-10-20 19:50:08 +02:00
Lonami Exo
8138be2503
Update to layer 190
2024-10-15 23:20:57 +02:00
Devesh Pal
a0e42c1eb7
Update to layer 189 ( #4476 )
2024-10-05 21:43:51 +02:00
Arkadii Halchenko
4553f04e49
Fix formatting_entities not working for albums ( #4475 )
2024-10-05 11:13:20 +02:00
Lonami Exo
f652f3f01a
Bump to v1.37
2024-09-23 19:01:20 +02:00
Lonami Exo
693c73ec1d
Update to layer 188
2024-09-23 19:01:10 +02:00
Mohsen
a9442ef1be
Remove right-adjust from logging example docs ( #4461 )
...
Only works with %-style formatting, but not in the logging module.
2024-09-11 20:54:59 +02:00
Devesh Pal
d37b0f812f
Update to layer 187 ( #4457 )
2024-09-07 10:06:07 +02:00
kristal
b01d3d7a2f
Fix edge case on get_messages when reverse=True ( #4455 )
...
Closes #4453 .
2024-09-05 17:00:22 +02:00
delobanov
aec957d62d
Add error message back to proxy errors ( #4443 )
2024-08-29 23:54:34 +02:00
delobanov
46854a7660
Fix ConnectionError() takes no keyword arguments with proxies ( #4440 )
2024-08-28 22:41:38 +02:00
Lonami Exo
90f1e5b073
Update to layer 186
2024-08-25 21:14:51 +02:00
灰白草
75408483ad
Support CDN downloads ( #4420 )
...
Closes #4327 .
2024-08-07 20:25:35 +02:00
Lonami Exo
946f803de7
Handle FloodPremiumWaitError
...
Closes #4417 .
2024-07-24 16:38:34 +02:00
Shrimadhav U K
087191e9c5
Update API Scheme to Layer 184 ( #4413 )
2024-07-19 17:43:02 +02:00
Lonami Exo
a5c98aec50
Update to layer 183
2024-07-06 21:03:29 +02:00
2ei
cfebb9df05
Remove unused imports ( #4397 )
2024-06-21 00:06:40 +02:00
Lonami Exo
04aea46fe4
Update to v1.36
2024-06-11 16:42:47 +02:00
Lonami Exo
3def9433b8
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:12:02 +02:00
Lonami Exo
b3e210a1fb
Update to layer 181
2024-06-01 11:00:14 +02:00
Lonami Exo
47673680f4
Update to layer 179
2024-05-01 17:43:24 +02:00
Lonami Exo
1974b663a2
Add missing type to _store_own_updates
2024-04-28 10:16:56 +02:00
Lonami Exo
881bfaac5c
Update to layer 179
2024-04-27 16:56:38 +02:00
Lonami Exo
0f6dd5987e
Add readthedocs dependency on sphinx-rtd-theme
2024-04-24 19:03:26 +02:00
Lonami Exo
d77ac18695
Bump to v1.35
2024-04-24 18:51:29 +02:00
Lonami Exo
8137b12bec
Fix readthedocs requirements
2024-04-24 18:46:57 +02:00
Lonami Exo
10a6d16af6
Update to layer 178
2024-04-24 18:45:09 +02:00
Darskiy
3ac11e15ec
Fix get_messages type hint ( #4357 )
2024-04-23 16:54:41 +02:00
Darskiy
3625bf849d
Fix get_entity type hint ( #4352 )
2024-04-18 20:52:29 +02:00
Shubham Kumar
d3a201a277
Fix regression on supported Python version ( #4347 )
2024-04-12 21:06:15 +02:00