Telegram github commits and releases
4.53K subscribers
601 files
20.4K links
Broadcast from the most important Telegram clients' repositories
Download Telegram
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
telegramdesktop/tdesktop/nightly806b7443 files, +79/-3
Reverse-over-scroll hypothesis pool + H5 accumulator cap.

#tdesktop
🫡4
telegramdesktop/tdesktop/devc14efc21 files, +40/-28
Fix possible clamp contract violation.

Fixes #30925.

#tdesktop
🫡3
telegramdesktop/tdesktop/dev1eeea7e2 files, +2/-2
Update lib_crl and TooManyCooks

#tdesktop
🫡3
telegramdesktop/tdesktop/dev8f1f3991 files, +15/-1
Hide the main menu hit-area button from screen readers

The invisible hit-area stacked under the main menu toggle duplicates the
toggle's action but has no label, so in screen reader mode it became a
second, unnamed Tab stop that read out the raw Qt class chain. Give it no
accessible role so it is skipped by keyboard/screen-reader navigation,
while mouse clicks still open the menu.

#tdesktop
🫡3
telegramdesktop/tdesktop/dev04bfbfa1 files, +91/-0
Support screen reader focus and activate on country list rows

telegramdesktop/tdesktop/devff355eb1 files, +4/-0
Focus chat list on launch in screen reader mode

Initial focus went to the unnamed Dialogs::Widget container, so NVDA
announced the raw Qt class chain. Focus the accessible chat list instead
so the list and its selected chat are announced.

#tdesktop
🫡3
telegramdesktop/tdesktop/devea2bb5b1 files, +5/-4
Migrate webpage timestamp links to wrapped URL format

#tdesktop
🫡3
telegramdesktop/tdesktop/devd359e191 files, +1/-1
Update cmake_helpers.

#tdesktop
🫡3
telegramdesktop/tdesktop/dev27f41581 files, +137/-2
Support screen reader focus and activate on language list rows

#tdesktop
🫡3
telegramdesktop/tdesktop/devaeb3e6b4 files, +304/-0
Support screen reader focus and activate on message history rows

#tdesktop
🫡3
telegramdesktop/tdesktop/deve01ee722 files, +26/-0
Prune unused accessibility identities.

#tdesktop
🫡3
TGX-Android/Telegram-X/maina246d6a1 files, +1/-1
Update Gradle to `9.6.1`

TGX-Android/Telegram-X/maina6ffa9a48 files, +727/-458
Upgrade TDLib to tdlib/td@a17f87c

#tgxandroid
🤨4🫡3👍1
TGX-Android/Telegram-X/maincbbce103 files, +18/-2
View OpenSSL version and source code

#tgxandroid
🤨4🫡2