Isaac
81e17da3fb
Refactor constructor use sites for types 420-439 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 23:22:34 +08:00
Isaac
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
Isaac
5e27a39d80
Refactor constructor use sites for types 380-399 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 22:58:30 +08:00
Isaac
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
Isaac
5712f3061f
Refactor constructor use sites for types 280-299 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 14:42:21 +08:00
Isaac
e68bdc05ca
Refactor Api types 150-179 to use struct-wrapped constructors
...
- Update pattern matches to use struct-based extraction for inputPeer*,
inputMedia*, inputReplyTo*, inputSticker*, inputPhoto, inputUser, etc.
- Wrap constructor calls with .init() for struct-wrapped enum cases
- 47 TelegramCore source files modified
- 5 TelegramApi files regenerated with --struct-count=180
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 15:18:11 +08:00
Isaac
33a0d9e62c
Refactor Api types 120-149 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 03:00:59 +08:00
Isaac
a78b2c0db2
Refactor Api types 70-89 to use struct-wrapped constructors
...
Types refactored:
- 70-79: contactStatus, dataJSON, dcOption, defaultHistoryTTL, dialog,
dialogFolder, dialogFilter, dialogFilterChatlist, dialogFilterSuggested,
dialogPeer, dialogPeerFolder, disallowedGiftsSettings, document, documentEmpty
- 80-89: documentAttribute* (Audio, CustomEmoji, Filename, ImageSize, Sticker, Video),
draftMessage, draftMessageEmpty, emailVerification* (Apple, Code, Google),
emailVerifyPurposeLoginSetup, emoji* (Group, GroupGreeting, GroupPremium,
Keyword, KeywordDeleted, KeywordsDifference, Language, List, Status,
StatusCollectible), inputEmojiStatusCollectible
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 02:12:20 +08:00
Isaac
df3b1cddcf
Refactor Api types 60-64 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 01:29:09 +08:00
Ilya Laktyushin
2ecbaf4507
Various improvements
2025-03-10 15:32:15 +04:00
Ali
f3ee06dd32
Stories
2023-07-07 02:03:11 +04:00
Ali
1a53010f54
Data usage UI improvements
2023-01-19 22:48:13 +04:00
Ali
52877b552c
Support firebase auth
2023-01-13 01:36:25 +04:00
Ali
58f6657c6e
API updates, token login support, initial data usage screen implementation
2023-01-07 00:36:12 +04:00
Ilya Laktyushin
c5e1f9b645
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
2022-08-13 01:33:49 +03:00
Ilya Laktyushin
aea7e12813
[WIP] Email authorization
2022-08-13 01:11:48 +03:00
Ali
97239853a2
[WIP] Custom reactions
2022-08-12 23:36:56 +04:00
Ali
a183d69534
Refactoring
2022-05-29 02:09:25 +04:00
Ali
3e60c417bf
Update API [skip ci]
2021-11-23 17:07:59 +04:00
Ali
ce36439bd2
Refactoring
2021-09-19 13:55:17 +03:00
Ali
1141e09c1b
Refactoring
2021-09-07 13:09:06 +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
4776730243
Merge branch 'master' into features/64-bit
2021-07-05 00:50:38 +04:00
Ali
4893e41de2
Refactoring [skip ci]
2021-07-05 00:48:11 +04:00
Ali
a23971c0ef
Initial 64-bit id support
2021-06-28 20:02:50 +04:00
Ali
2efced46b3
Refactoring
2021-04-18 20:15:23 +04:00
Ali
5684efc505
Refactoring
2021-04-18 12:37:25 +04:00
Ali
df4b313808
Refactoring
2021-04-18 03:31:01 +04:00
Ali
8d5a945763
Initial public API refactoring experiment
2021-03-23 02:16:48 +04:00