Darskiy
3ffd810d78
Merge branch 'LonamiWebs:v1' into main
2025-05-14 00:14:11 +03:00
wkpn
6625327b4f
Add ChannelForbidden check to utils.get_display_name
2025-05-13 23:05:07 +02:00
Darskiy
033fc7f51e
Update to layer 203
2025-05-13 21:41:35 +03:00
Darskiy
23cc288285
Merge branch 'LonamiWebs:v1' into main
2025-05-05 21:46:24 +03:00
Maxsim Smirnov
20434e5a9d
Update to layer 202
2025-05-05 20:03:56 +02:00
Darskiy
a64d4f9427
Merge branch 'LonamiWebs:v1' into main
2025-05-05 00:39:41 +03:00
AEIMS
6a7331b7dc
Add open_url param to control browser opening on click ( #4607 )
2025-05-04 22:01:55 +02:00
Darskiy
ef0982afe4
Merge branch 'LonamiWebs:v1' into main
2025-04-24 18:53:11 +03:00
Lonami Exo
77b7edcd6e
Also process updates entities with session
2025-04-24 17:36:21 +02:00
Darskiy
5603a25c63
Merge branch 'LonamiWebs:v1' into main
2025-04-23 22:36:25 +03: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
Darskiy
e537689771
Merge branch 'LonamiWebs:v1' into main
2025-04-23 12:56:19 +03: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
Darskiy
fb7365ed0a
Merge branch 'LonamiWebs:v1' into main
2025-04-21 21:50:41 +03:00
Lonami Exo
3708fd9605
Update to v1.40
2025-04-21 11:05:32 +02:00
Darskiy
1317c083ae
Merge branch 'LonamiWebs:v1' into main
2025-04-18 22:20:46 +03:00
Lonami Exo
5f0695d21b
Fix time offset check was in opposite branch
2025-04-18 18:40:53 +02:00
Darskiy
c5651e1e16
Merge branch 'LonamiWebs:v1' into main
2025-04-18 15:46:29 +03:00
Lonami Exo
9545011de6
Update time offset if first message is badMsgNotification
...
This should prevent the library from getting stuck during connect.
2025-04-17 17:08:08 +02:00
Lonami Exo
11658d3bbf
Combine tdlib and tdesktop schemas
...
It is safer to keep additions than unnecessarily removing.
Additional flags should also be safe to keep, but they may
not be usable in practice.
2025-04-17 16:57:30 +02:00
Darskiy
7d95fbce09
Merge branch 'LonamiWebs:v1' into main
2025-04-15 03:30:27 +03:00
Lewis
a73e5a8c71
Fix layer 201 ( #4596 )
2025-04-12 22:13:52 +02:00
Darskiy
aba03cc678
Merge branch 'LonamiWebs:v1' into main
2025-04-01 21:57:44 +03:00
orShadxw
3921914a96
Fix issues raising errors, media dl and reply markup ( #4592 )
2025-04-01 18:00:09 +02:00
Darskiy
5b3650c2dd
Merge branch 'LonamiWebs:v1' into main
2025-03-28 04:46:00 +02:00
Ankit Chaubey
c409d8c605
Update to Layer 201
2025-03-26 18:06:16 +01:00
Darskiy
af686434bd
Merge branch 'LonamiWebs:v1' into main
2025-03-22 22:28:30 +02:00
Lonami Exo
19a27d602c
Delete dated documentation section
...
While it might have persuaded some people to avoid ending here,
there's also the possibility this had no effect, or even made
the situation worse. For that, I apologize for any hurt feelings.
2025-03-22 10:42:08 +01:00
Darskiy
60180d8da4
Merge branch 'LonamiWebs:v1' into main
2025-03-20 20:31:36 +02:00
Lonami Exo
37e29e8f13
Add missing param on photo-to-input conversion
...
Closes #4584 .
2025-03-20 16:48:17 +01:00
Darskiy
516bf71efa
Merge branch 'LonamiWebs:v1' into main
2025-03-15 03:39:24 +02:00
abcdenis
890bf485c9
skip ChannelParticipantLeft in _ParticipantsIter
2025-03-14 17:27:45 +01:00
Darskiy
343f407fc5
Add type hints for message
in NewMessage.Event
and integrate SenderGetter
for better IDE support
...
Inherit from `SenderGetter` in `NewMessage.Event` to explicitly expose sender-related properties for IDE autocompletion. Annotates `self.message` with `types.Message` to further clarify type expectations.
2025-03-11 04:03:31 +02:00
Darskiy
e9fd38fc02
Enhance HTML tag support for existing entities
...
Added `details` tag handling for the existing `MessageEntitySpoiler` entity. Expanded `MessageEntityStrike` detection by including the `strike` tag.
2025-03-11 02:41:47 +02:00
Lonami Exo
67765f84a5
Update to layer 200
2025-03-09 13:05:29 +01:00
Lonami Exo
4bfe7849f6
Add missing input conversion for MessageMediaGeoLive
...
Fixes #4576 .
2025-03-09 13:00:15 +01:00
Shrimadhav U K
859f7423f2
Add send_as and effect parameters in high level
2025-03-08 17:21:49 +01:00
Nick80835
6f5556373f
Call getDifference on login to ensure qts is up to date
2025-03-07 18:03:01 +01:00
Nick80835
0fc9b14674
Make URL regex match everything except ]
...
Hopefully this is the last time I touch this.
2025-03-07 08:03:31 +01:00
Nick80835
0c2a3c144b
Make URL regex match anything again
...
Including spaces.
2025-03-06 08:03:44 +01:00
martín
a03a8673e1
Clarify warning when reusing unintended session ( #4568 )
2025-03-02 19:40:34 +01:00
Lonami Exo
045df418df
Update to v1.39
2025-02-20 18:26:00 +01:00
Nick80835
592a899aab
Update to layer 199
2025-02-13 17:20:59 +01:00
Nick80835
1cb5ff1dd5
Consider range list-like
...
This allows you to pass range() to things such as get_messages as ids= without first explicitly converting it to a list.
2025-02-09 08:42:44 +01:00
s1xu
9762a83541
fix: support batch sending of image URLs and video URLs in albums
2025-02-08 15:40:56 +01:00
Nick80835
141b620437
Make markdown URL regex less greedy
...
Fixes multiple URLs in a single message.
2025-02-05 16:56:04 +01:00
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