45 Commits
Author SHA1 Message Date
isaacandClaude Opus 4.7 493f3103b3 Postbox -> TelegramEngine waves 37-43 + wave 44 design/plan (squashed)
Squashes 20 commits — the implementation and outcome commits of
waves 37 through 43 plus wave 44's spec and implementation-plan
docs — into a single commit. Per-wave lessons remain recorded in
docs/superpowers/postbox-refactor-log.md. The unrelated "Add swift
svg" commit is preserved separately outside this squash.

Wave 37 — peerTokenTitle: peer Peer → EnginePeer (1 file)
Wave 38 — canSendMessagesToPeer: peer Peer → EnginePeer (12 files)
Wave 39 — AccountContext.makePeerInfoController: peer Peer → EnginePeer (52 files)
Wave 40 — makeChatQrCodeScreen + makeChatRecentActionsController bundle (8 files)
Wave 41 — RenderedChannelParticipant.peer: Peer → EnginePeer (28 files)
Wave 42 — PeerInfoScreenData.peer: Peer? → EnginePeer? (17 files)
Wave 43 — PeerInfoScreen 6 helpers: peer Peer? → EnginePeer? (12 files)
Wave 44 — RenderedChannelParticipant.peers design doc + implementation plan
         (impl and outcome land in subsequent commits, not part of squash)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 23:19:43 +04:00
Ilya Laktyushin 5d50aa34af Various improvements 2026-02-23 21:25:25 +04:00
IsaacandClaude Opus 4.5 b5dc0b2fd9 Refactor constructor use sites for types 400-419 to struct pattern
Refactored Api constructors in authorization and channel-related code:
- authorization, authorizationSignUpRequired, sentCode, sentCodeSuccess,
  sentCodePaymentRequired, sentCodeTypeFirebaseSms, and related types
- channelParticipant, channelParticipants, sendAsPeers, adminLogResults
- chatlistInvite, chatlistInviteAlready, chatlistUpdates, exportedChatlistInvite
- popularAppBots, sponsoredMessageReportResultChooseOption, and others

Fixed variable shadowing issues where 'user' was extracted and then
immediately shadowed by TelegramUser initialization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 23:15:21 +08:00
IsaacandClaude Opus 4.5 55c53717af Refactor constructor use sites for types 360-379 to struct pattern
Migrated 20 types including userProfilePhoto, userStatus*, username, videoSize*,
wallPaper*, webDocument*, webPage*, webViewResultUrl, authorizations,
authorizationForm, autoDownloadSettings, businessChatLinks, chatThemes,
connectedBots, and contentSettings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 22:45:35 +08:00
IsaacandClaude Opus 4.5 c6b0ef5da3 Refactor constructor use sites for types 220-239 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 02:08:10 +08:00
IsaacandClaude Opus 4.5 6b2c0f9c53 Refactor constructor use sites for types 100-119 to struct pattern
Migrated 22 constructors: fileHash, folder, folderPeer, forumTopic,
forumTopicDeleted, foundStory, game, geoPoint, geoPointAddress,
globalPrivacySettings, groupCall, groupCallDiscarded, groupCallDonor,
groupCallMessage, groupCallParticipant, groupCallParticipantVideo,
groupCallParticipantVideoSourceGroup, groupCallStreamChannel,
highScore, importedContact, inlineBotSwitchPM, inlineBotWebView

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 02:41:47 +08:00
IsaacandClaude Opus 4.5 68d60d34dc Refactor Api types 43-52 to use struct-wrapped constructors
Also adds -warnings-as-errors to TelegramCore Package.swift

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 00:33:37 +08:00
Ilya Laktyushin 7dfd3b1d87 Various improvements 2025-09-26 01:30:15 +04:00
Ilya Laktyushin cb523192d5 Various improvements 2025-09-17 20:58:42 +04:00
Ilya Laktyushin 2962851527 Various improvements 2025-04-22 21:06:46 +04:00
Ilya Laktyushin 5941becc33 Stars giveaways [skip ci] 2024-08-23 18:44:16 +04:00
Isaac 289273dcd9 Update API [skip ci] 2024-08-08 14:15:32 +04:00
Ilya Laktyushin acf905a098 Various improvements 2024-04-20 19:37:16 +04:00
Ilya Laktyushin 60652f34ee Pass thread info in Recent Actions [skip ci] 2024-04-17 16:04:23 +04:00
Ilya Laktyushin 1b2b7dc403 Group boosts 2024-02-01 12:29:07 +04:00
Isaac 6730f7d2fb Various improvements 2023-12-20 22:17:06 +04:00
Isaac 09e025e985 [WIP] Channel appearance 2023-12-15 22:59:33 +04:00
Isaac c3b77b11c0 Merge commit '69e63af0ff9396da6347ab488c7ddacc3ede3b4c' 2023-12-12 14:06:04 +04:00
Isaac b34a495945 [WIP] Saved messages 2023-12-12 14:05:58 +04:00
Ilya Laktyushin 44b0464161 Update API [skip ci] 2023-12-12 10:25:15 +04:00
Ilya Laktyushin 9e8bf48a96 Various fixes 2023-10-25 15:54:27 +04:00
Ilya Laktyushin 137c3d9101 Update API 2023-10-16 13:20:46 +04:00
Ali f3ee06dd32 Stories 2023-07-07 02:03:11 +04:00
Ali dfdde96d63 Folder updates 2023-03-31 19:28:06 +04:00
Ilya Laktyushin 1103706315 Update API 2022-12-05 17:05:40 +04:00
Ilya Laktyushin c6788d923b Various fixes 2022-12-02 14:35:53 +04:00
Ali e525215e50 Workaround for General topic 2022-11-28 13:00:32 +04:00
Ali 79215dc012 [WIP] Topics 2022-10-23 19:34:10 +04:00
Ali 9b35b9630c [WIP] Topics 2022-10-18 19:50:17 +04:00
Ali 2fc5591f0a [WIP] Topics 2022-10-17 18:37:11 +04:00
Ilya Laktyushin 59b593696e Various improvements 2022-10-15 21:08:11 +03:00
Ali 1d2ad0f5de Update API 2022-08-25 20:37:09 +03:00
Ali af01ec906f Reaction improvements 2021-12-23 00:34:53 +04:00
overtake 8258170af9 send messages event log filter 2021-11-26 15:57:57 +04:00
Ilya Laktyushin 48cc049d7b Update API 2021-11-22 21:56:34 +04:00
Ilya Laktyushin 1a717fbda5 Implement copy restriction and send as peer 2021-11-05 21:45:48 +04:00
Ilya Laktyushin d8d344d2c1 Various Improvements 2021-10-14 04:40:07 +04:00
Ilya Laktyushin 4e497dbff5 Update API [skip ci] 2021-10-04 14:03:08 +03:00
Ali 8a6f5dd66e Merge branch 'master' into experimental-2 2021-09-03 00:59:06 +04:00
Ilya Laktyushin ce4199262c Various Fixes 2021-08-28 00:35:19 +03:00
Ali 79698d9929 UI updates 2021-08-27 18:46:22 +04:00
Ali 7c8ad70014 Merge branch 'master' into experimental-2 2021-07-21 22:04:58 +02:00
Ali 1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ali ee8ec6ed30 Merge branch 'master' into features/64-bit 2021-07-07 02:08:56 +04:00
Ali 9134bae908 Refactoring 2021-07-07 01:59:12 +04:00