isaac
0050cc7a08
Rich-message media in gallery/shared-media/preview pipelines via Message.effectiveMedia
...
Add Message/EngineMessage.effectiveMedia (= message.media when non-empty, else
richText.instantPage.allMedia()) and route the media-consuming sites through it
so a rich message's instant-page media participates in the same pipelines as
normal message.media: shared-media grids/file-rows, search media grid, gallery
open + item nodes + footer, the peer audio/voice playlist, secret-media preview,
resource-by-id resolution, recent downloads, downloaded-media store, delete-time
resource cleanup, cache-usage stats, the in-chat download manager, and the
context-menu / share actions (Save to Camera Roll, copy image, save audio/music
to files). For normal messages effectiveMedia == message.media, so each swap is
behavior-preserving; rich messages render their own bubble via
ChatMessageRichDataBubbleContentNode (not the text/file bubbles), so those paths
are deliberately untouched, as are the forward path (the attribute travels with
the forward) and the markdown-based rich-edit path. First-media scope for now.
See docs/instantpage-richtext.md for the full architecture + invariants.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 23:46:56 +02:00
isaac
13a153aff2
WIP
2026-05-20 00:33:08 +08:00
Ilya Laktyushin
0df319742a
Update API
2026-04-16 01:18:22 +02:00
Isaac
1d06c3f058
Bot forums v2
2025-09-05 15:25:50 +02:00
Isaac
ee749050f0
Bot forums
2025-08-19 17:24:33 +02:00
Isaac
2ca01d18eb
Fix monoforum search
2025-06-05 19:59:04 +08:00
Isaac
383ab9e479
Various improvements
2025-03-07 17:52:50 +01:00
Ilya Laktyushin
4f42e41180
Update API [skip ci]
2025-02-21 17:23:25 +04:00
Mikhail Filimonov
39e8c7bb2e
macos and other stuff
2025-02-17 12:41:04 +02:00
Isaac
caf10fe889
Various improvements
2024-10-25 11:24:06 +02:00
Isaac
923587b0da
[WIP] Dynamic video streaming
2024-09-18 01:04:29 +08:00
Isaac
7313e25029
Merge commit ' 5d9d794f15'
2024-08-12 22:34:43 +08:00
Isaac
ce0e2ba62d
Send as improvements
2024-08-12 22:34:30 +08:00
Ilya Laktyushin
9adbb61a02
Update API
2024-08-12 12:20:41 +02:00
Ilya Laktyushin
83c7fdd228
Various improvements
2024-08-11 06:32:41 +02:00
Isaac
6e13876636
Star reactions
2024-08-09 16:55:53 +04:00
Isaac
3ff98fd2a8
[WIP] Star reactions
2024-08-06 15:00:29 +04:00
Ilya Laktyushin
b5b052ff7d
Paid media improvements
2024-06-22 00:05:21 +04:00
Mikhail Filimonov
f77b7a7b33
fact chect attribute
2024-05-22 17:20:29 +04:00
Ilya Laktyushin
c099ec3641
Stars
2024-05-17 23:40:10 +04:00
Mikhail Filimonov
c99ac31081
InvertMediaAttribute
2024-05-17 09:51:26 +04:00
Mikhail Filimonov
63c36a394e
InvertMediaAttribute
2024-05-17 09:04:51 +04:00
Ilya Laktyushin
acf905a098
Various improvements
2024-04-20 19:37:16 +04:00
Mikhail Filimonov
8bb8e0d10f
- api updates
2024-03-25 18:43:21 +04:00
Isaac
6ed9cef40a
[WIP] Quick replies
2024-02-23 15:26:33 +04:00
Isaac
dc7541065d
Tag saved message
2024-01-16 21:14:24 +04:00
Isaac
144b3aa656
Roll back once again
2024-01-15 21:09:32 +04:00
Isaac
495a0f83bb
Restore features
2024-01-15 17:15:42 +04:00
Isaac
df1e522519
Update localization and hide new features
2024-01-14 22:13:41 +04:00
Isaac
5e4a9cff28
[WIP] Saved tags
2024-01-10 00:45:01 +04:00
Isaac
52334868ad
Fix isTags
2024-01-06 01:02:11 +04:00
Isaac
6a89f938db
[WIP] Saved messages
2024-01-06 00:43:58 +04:00
Isaac
fb517e49c9
[WIP] Privacy update
2024-01-05 10:55:59 +04:00
Isaac
d8e5ff4f58
Various improvements
2023-12-28 19:55:39 +04:00
Isaac
ee90dd8332
Update API
2023-12-27 01:22:25 +04:00
Ali
6bddf8ac47
Don't treat outgoing messages as incoming
2023-11-02 18:18:46 +04:00
Ali
af8474aca5
[WIP] Quotes and link previews
2023-10-18 01:11:23 +04:00
Ali
f3ee06dd32
Stories
2023-07-07 02:03:11 +04:00
Ali
893402dc95
Move to double duration
2023-06-06 12:07:32 +04:00
Ali
ebd414691c
[WIP] Stories
2023-05-26 22:13:22 +04:00
Ali
06434cc5ef
[WIP] Stories UI
2023-04-21 19:52:09 +04:00
Ilya Laktyushin
9282469231
Various improvements
2022-11-09 18:28:49 +04:00
Ali
ba0a07aefa
Fetch reply messages with a dedicated method
2022-11-08 13:38:56 +04:00
Ali
5a445389ba
Update invoice API
2022-11-01 20:24:01 +04:00
Ali
554cd0e6fe
Topic improvements + interval ads
2022-10-29 00:26:57 +04:00
Ali
ffe00ac2e1
Reaction improvements
2022-08-19 22:51:12 +03:00
Ali
b4f8d20d7b
Update API
2022-08-19 01:05:37 +03:00
Ali
ed59ead31e
[WIP] Animated emoji
2022-07-08 19:53:20 +02:00
overtake
09a538bf1c
bug fix
2021-12-23 11:13:45 +04:00
overtake
840e7c807a
Merge commit ' 3db9593f49' into temp
...
# Conflicts:
# submodules/TelegramCore/Sources/Utils/MessageUtils.swift
2021-12-22 15:26:16 +04:00