Telegram github commits and releases
4.54K subscribers
601 files
20.3K links
Broadcast from the most important Telegram clients' repositories
Download Telegram
telegramdesktop/tdesktop/dev71bd56e2 files, +93/-29
Moved chat list selection to the navigated row on screen reader focus.

telegramdesktop/tdesktop/dev317eefa4 files, +284/-69
Opened chat on screen reader activate of a chat list row.

telegramdesktop/tdesktop/dev164eddf1 files, +1/-1
Fix python warning in prepare.

#tdesktop
🫡3
telegramdesktop/tdesktop/devc362a472 files, +14/-6
Fix identities for dialogs list rows.

#tdesktop
🫡2
telegramdesktop/tdesktop/dev9101d411 files, +14/-8
Fix premium markings in text style buttons.

telegramdesktop/tdesktop/devdb5f1071 files, +17/-0
Improve divider insertion.

telegramdesktop/tdesktop/dev2edcbd21 files, +15/-7
Fix fade to bg in rich message drafts.

telegramdesktop/tdesktop/dev4be2bc74 files, +139/-2
Insert empty paragraph on Up key in the start.

#tdesktop
🫡3
telegramdesktop/tdesktop/devadf04f52 files, +2/-14
Allow X11 WM to automatically position SeparatePanel with a foreign parent

telegramdesktop/tdesktop/dev80833b64 files, +3/-22
Get rid of DESKTOP_APP_DISABLE_X11_INTEGRATION

#tdesktop
🫡3
telegramdesktop/tdesktop/dev4200a276 files, +3/-40
Fix build with GCC.

telegramdesktop/tdesktop/dev0eb071f3 files, +3/-3
Update submodules.

#tdesktop
🫡3
telegramdesktop/tdesktop/dev4bafe2f1 files, +10/-3
Update breakpad to latest commit in Docker

#tdesktop
🫡3
New telegramdesktop/tdesktop release: v6.9.4 (beta)

- Add rich message editor with media, tables and math formulas.
- Show rich message drafts with full formatting in chat compose area.
- Add text recognition with selection and copying to media viewer images.
- Add swipe navigation and pinch zoom gestures to media viewer.
- Support zoom and dragging files out in shared media photos.
- Allow adapting existing stickers into custom emoji.
- Add media viewer video playback to system media controls.
- Add alphabetical fast-scroll index to contacts box.
- Improve screen reader accessibility for chats list and folders.

#tdesktop
🫡3
telegramdesktop/tdesktop/dev8a22f2c6 files, +29/-17
Beta version 6.9.4.

- Add rich message editor with media, tables and math formulas.
- Show rich message drafts with full formatting in chat compose area.
- Add text recognition with selection and copying
to media viewer images.
- Add swipe navigation and pinch zoom gestures to media viewer.
- Support zoom and dragging files out in shared media photos.
- Allow adapting existing stickers into custom emoji.
- Add media viewer video playback to system media controls.
- Add alphabetical fast-scroll index to contacts box.
- Improve screen reader accessibility for chats list and folders.

#tdesktop
🫡4
UnigramDev/Unigram/layer22853501e51 files, +1/-1
Fix missing default value

UnigramDev/Unigram/layer228da4f41c2 files, +0/-142
Remove unused code

UnigramDev/Unigram/layer228da417709 files, +1/-31
Removed TextStyle

UnigramDev/Unigram/layer22824e067a1 files, +53/-69
Refactor formatted text block pools

UnigramDev/Unigram/layer22890d92011 files, +16/-18
Fix fast run and auto font size

UnigramDev/Unigram/layer2281a081c844 files, +441/-8
Debug chat history UI tree

UnigramDev/Unigram/layer228bd8c0374 files, +80/-35
Don't use explicit bindings in FormattedTextBlock

UnigramDev/Unigram/layer228bcc55813 files, +9/-9
Fix code block font family

UnigramDev/Unigram/layer228c22c16b2 files, +76/-14
Optimize SVG decompression

UnigramDev/Unigram/layer22867f34b71 files, +25/-10
Properly unsubscribe window

UnigramDev/Unigram/layer2285c5590f1 files, +8/-1
Fix leak in dead code

UnigramDev/Unigram/layer22849b2c6b3 files, +41/-9
Fixes

UnigramDev/Unigram/layer228b7272541 files, +18/-5
Fix context menu for selected messages

UnigramDev/Unigram/layer22815f12741 files, +1/-1
Fix context menu for vote-once polls

UnigramDev/Unigram/layer22814e76342 files, +2/-6
Refactoring

#unigram
🫡2
UnigramDev/Unigram/layer2287b8b6d22 files, +42/-0
IsTextTrimmable

UnigramDev/Unigram/layer22890d5a6e5 files, +172/-26
WIP: memory optimizations

#unigram
🫡2
morethanwords/tweb/master6e3d57a1 files, +15/-1
Add view-in-stealth-mode option to profile stories context menu

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/master3c6ca053 files, +106/-5
Fix code-block markdown paste and send handling

- parseMarkdown: only treat the first line of a ``` block as a language tag when it's a single identifier token, so a leading { (e.g. pretty-printed JSON with the opening fence on the same line) is kept as code instead of being swallowed.
- parseMarkdown: a lone ``` run (all-backtick content, not a real fence) was pushed twice — once in the all-backtick branch and again in the !pushedEntity fallback — duplicating it and drifting every entity after it on send. Emit it verbatim once.
- inputField paste handler: don't discard perfectly good rich HTML when text/plain is a markdown rendering of the same content (backticks/asterisks make it longer). Also accept the rich value when its non-whitespace chars are an in-order subsequence of the plain text.
- Add parseMarkdownCode.test.ts covering language detection and the lone-``` duplication.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/master5dae11d8 files, +203/-21
Route OffscreenCanvas stickers and spoilers through per-tab workers

OffscreenCanvas presentation (transferControlToOffscreen) is incompatible
with a SharedWorker: a tab-owned canvas's frame sink is bound to the owning
renderer process, so a cross-process present is rejected ("Invalid client ID")
and kills the tab with RESULT_CODE_KILLED_BAD_MESSAGE whenever two same-origin
tabs land in different processes. Gate both offscreen paths behind a shared
IS_SHARED_WORKER_OFFSCREEN_CANVAS_SUPPORTED flag.

- Spoiler renderer runs as a per-tab dedicated Worker instead of a SharedWorker.
- rlottie 'canvas' stickers keep decoding in the shared rlottie worker but
present via the per-tab emoji compositor: the worker ships ImageBitmaps and
the compositor holds/tints/blits the transferred canvases (attach/detach/
resize/config/present sticker ops, keyed by item reqId). Re-key
lottieLoader.players on the offscreen->legacy fallback via a new reqIdChanged
event, and extract paintFrameTinted shared by both workers.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

#webk
🫡3
morethanwords/tweb/mastera42b5b44 files, +283/-3
Add Stories and Reactions sections to notification settings

Settings → Notifications gains two iOS-style sections:

- Stories: a 3-state "New Stories" control (all / important-only / off) mapped
to the nullable stories_muted flag on inputNotifyUsers, plus "Show Sender's
Name" (stories_hide_sender). The global toggle is inherited by the per-peer
story-notification guard and by server web-push, so it actually silences new
story notifications on WebK (bugs.telegram.org/c/63273).
- Reactions: per-category (messages / stories) off / My Contacts / Everyone
pickers plus "Show Sender's Name", backed by new appNotificationsManager
get/setReactionsNotifySettings wrappers over account.*ReactionsNotifySettings.

The stories write also publishes its change locally right away so the sibling
Private Chats section, which shares inputNotifyUsers and rewrites the whole
object on tab-close, cannot clobber the story flags.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/master257c29d14 files, +2390/-35
Render Markdown documents in Instant View

Open .md / text/markdown attachments as a native Instant View page instead
of downloading them. A client-side CommonMark-ish parser builds a Telegram
Page from the markdown, rendered by the existing IV UI.

Parser (src/lib/richTextProcessor/):
- parseMarkdownToPage: headings H1-H6 (+ slug anchors), unordered/ordered/
nested lists, GFM tables with alignment, task lists, blockquotes, fenced
and indented code, $$...$$ math blocks, <details> collapsibles, footnotes
(sequential numbering + clickable reference<->definition links),
reference/inline links, HTML comment stripping, thematic breaks.
- inlineMarkdownToRichText: bold/italic/underline/strike/code/spoiler,
<sub>/<sup>/<mark>, <b>/<i>/<u>/<s> -> real formatting, <url>/<email>
autolinks, reference links, backslash escapes, inline $x$ math.

Instant View (src/components/):
- markdownInstantView + wrappers/document.ts: open .md attachments as IV.
- instantView.tsx: highlighted code blocks (reusing wrapRichText's
messageEntityPre markup) with working copy/wrap buttons, square task
checkboxes (StaticCheckbox), app-standard quote styling, Temml-rendered
math (inline + block), in-page anchor & footnote scrolling.
- instantViewMath: lazy Temml (LaTeX -> MathML) loader with plain-text
fallback, loaded as a Vite-minified async chunk on first formula.
- browser.tsx: hide open/copy-link menu actions for the URL-less md page.

Extract src/helpers/dom/codeBlockClick.ts for the shared code-block
copy/wrap detection; the Instant View onClick delegator reuses it.

Adds the temml dependency. Covered by src/tests/parseMarkdownToPage.test.ts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

#webk
🫡3
morethanwords/tweb/master53128392 files, +303/-89
Add trackpad swipe-to-reply for message bubbles

A two-finger horizontal trackpad swipe now replies to a message on desktop,
alongside the existing touch swipe. Wheel events (deltaX) drive the same reply
visuals through a shared createReplySwipeController; the gesture axis-locks per
burst so vertical scroll and inner horizontal scrollers (code blocks, wide
tables) keep working, and the commit point is found by detecting the momentum
decay (with a wheel-idle-debounce fallback) so the reply fires near release
without waiting out the full trackpad inertia.

Also fix two visual regressions in the reply gesture: fade the side reply icon
out on release instead of dropping it in a single frame, and keep the group
avatar's bottom animating during the slide-back so replying to the last message
no longer makes the avatar jump vertically.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/mastera3cad6211 files, +174/-16
Add guest bots (bot_guestchat)

Sender: a guest bot's @username typed at the start of a message sends a plain
message instead of triggering an inline query, and guest bots are suggested in
the @ autocomplete (except in channels and monoforums).

Display: an incoming message carrying guestchat_via_from renders the guest
bot's avatar (forced even in a 1-on-1) and a "<Bot> for <Visitor>" name, with
consecutive messages grouped by visitor. A one-time hint explains that the bot
can't read the chat — only the message where it was mentioned.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/master33179d02 files, +9/-16
Route code-block click handling through the codeBlockClick helper

Replace the inline code-header / monospace-text click detection and
wrap-toggle logic in ChatBubbles with getCodeBlockClickTarget and
toggleCodeBlockWrap from @helpers/dom/codeBlockClick. Also sort the
pngjs / @types/pngjs devDependencies alphabetically.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/mastera8cda12300 files, +713/-603
Build

#webk
🫡3
morethanwords/tweb/master859205f10 files, +580/-51
Layer 227

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

morethanwords/tweb/mastere22ba9312 files, +968/-42
Add support for MTProto rich messages (#669)

Render incoming message.rich_message payloads through the Instant View block
renderer, with reply/search summary text and a messages.getRichMessage fetch for
"read more" parts. Math (pageBlockMath / inline textMath) renders via the Temml
path; the TL schema comes from the official Layer 227.

Also fixes a threaded-worker port-attachment race that could stick the app on
dialog load.

Fixes #664

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

#webk
🫡4
telegramdesktop/tdesktop/dev54d4d8a1 files, +4/-2
[img-editor] Fixed std::clamp() crash in photo editor

#tdesktop
🫡2
telegramdesktop/tdesktop/nightly75d02592 files, +13/-2
Fixed swipe-next-channel gesture freeze on Windows.

telegramdesktop/tdesktop/nightly0c009611 files, +3/-3
Switched Windows CI build from Debug to Release.

#tdesktop
🫡3
telegramdesktop/tdesktop/nightly4898fbb2 files, +13/-2
Fixed swipe-next-channel gesture freeze on Windows.

#tdesktop
🫡3
telegramdesktop/tdesktop/nightly80e798a2 files, +47/-2
Fixed swipe-next-channel gesture freeze on Windows.

#tdesktop
🫡3
telegramdesktop/tdesktop/nightly8424c713 files, +48/-3
Fixed swipe-next-channel gesture freeze on Windows.

#tdesktop
🫡3
telegramdesktop/tdesktop/nightly68eb6333 files, +71/-3
Added reverse-over-scroll hypothesis pool (gesture + lib_ui DM).

#tdesktop
🫡3