TGViewer
Telegram github commits and releases Telegram github commits and releases @tgappsupdates · 4.49K subscribers
Post #20702 47
UnigramDev/Unigram/develop • 068f474 • 1 files, +9/-4
Note that the alias covers every frame callback

The todo still said CompositionVSync and VisualUtilities were left on the broken
path; the alias in 6a2466fb3 took them with it, along with Rendered.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

UnigramDev/Unigram/develop • ea510bd • 2 files, +0/-41
Removed unused code

UnigramDev/Unigram/develop • 8de24ae • 15 files, +33/-281
Make the app AOT-clean

The whole trim surface of the app was five warnings in two files, and both were
dead weight.

TypeCrosserGenerator is deleted: nothing called it. Its one call site was
[Conditional("DEBUG")], so Release stripped the call but still compiled the body,
and ILC saw Assembly.GetTypes() over the TDLib types. Note that Conditional still
binds the name, so #if DEBUG around the class does not compile - the reference has
to go with it, and the Compile entry in Telegram.csproj too, which is not globbed.

TypeContainerGenerator has no call sites at all, so #if DEBUG is enough for it, and
there is now a todo to rewrite it as a source generator. Its GetConstructors and
GetProperties are the last reflection left in the app.

Fourteen classes that cross the WinRT ABI are marked partial, which is CsWinRT1028:
without it the marshalling code cannot be generated at build time and falls back to
reflection, which is what AOT trims away. Two of them are LottieGen output, so
regenerating those icons will drop the keyword again.

PublishAot moves into Telegram.Modern.csproj. Passed on the command line it is a
global property, so it flows into the ProjectReference and Telegram.Generators -
netstandard2.0 - fails with NETSDK1207.

Compile verified on the modern project; the ILC run to confirm the warning count is
still to come. .NET Native untouched by all of this bar the two deletions.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

#unigram
More from @tgappsupdates
  1. Oct 11, 2026UnigramDev/Unigram/develop • 04a9e11 • 1 files, +23/-5 Try to preserve managed exception U…
  2. Oct 11, 2026New TGX-Android/Telegram-X release: v0.29.1.1817 (stable) **Telegram X** `0.29.1.1817` has…
  3. Oct 10, 2026Assets for release v7.3.1 of telegramdesktop/tdesktop: • Windows on ARM: Portable • Window…
  4. Oct 10, 2026telegramdesktop/tdesktop/dev • 4b529b9 • 2 files, +63/-34 Added grouping of webpage photo…
  5. Oct 10, 2026New telegramdesktop/tdesktop release: v7.3.1 (stable) - Fix wallet encryption with Windows…
  6. Oct 10, 2026UnigramDev/Unigram/develop • bab9f3c • 3 files, +52/-17 Use sticky headers in folder setti…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →