Kylmakalle
256324b22b
Version 12.4
2026-03-10 23:45:27 +02:00
Ilya Laktyushin
32660b3806
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
2026-02-24 21:44:38 +04:00
Ilya Laktyushin
654ff9e7e0
Various improvements
2026-02-24 21:44:29 +04:00
Isaac
622ea906ef
Merge commit 'e24d411efa3d2e3316e6b6cf58862675ed61e3d1'
2026-02-24 17:19:36 +01:00
Isaac
ad30eb2bc5
Update
2026-02-24 14:00:41 +01:00
Ilya Laktyushin
1d80861e09
Various improvements
2026-02-23 13:51:13 +04:00
Ilya Laktyushin
5018fd7c65
Added dates in poll results
2026-02-22 01:37:19 +04:00
Isaac
0999c097b4
Merge commit '670c547aad691644521add00755dcb874487b4de'
2026-02-20 09:57:54 +01:00
Isaac
02aab7476e
Update
2026-02-20 09:57:49 +01:00
Mikhail Filimonov
a2413e4aa8
Merge commit '589e46f52d1d0ae785bbced17842cdd9c418cbc2' into formatted-date-api
2026-02-19 14:57:59 +04:00
Mikhail Filimonov
2e2b278e85
match code
2026-02-19 14:57:47 +04:00
Isaac
26cc304ca0
Fix bg
2026-02-17 10:19:02 +04:00
Ilya Laktyushin
9616ea2ad9
Update API
2026-02-13 14:09:36 +04:00
Ilya Laktyushin
c0f7cda4eb
Update API
2026-02-12 15:37:57 +04:00
Isaac
cb802c524e
Revert "Experiment"
...
This reverts commit 8c54db62f3 .
2026-02-04 18:01:32 +08:00
Isaac
8c54db62f3
Experiment
2026-02-04 03:22:37 +08:00
Ilya Laktyushin
7f75219a03
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
2026-01-30 19:45:23 +04:00
Ilya Laktyushin
75627b036a
Various improvements
2026-01-30 18:55:05 +04:00
Isaac
47cef684ba
Merge commit '15d0267e72d6d866751e2ab0c9d56cb3afabbe4d'
...
# Conflicts:
# submodules/TelegramCore/Sources/SyncCore/SyncCore_TelegramMediaAction.swift
2026-01-30 22:40:53 +08:00
Isaac
58aab15546
Various improvements
2026-01-30 22:39:20 +08:00
Isaac
962a9ae83a
Various improvements
2026-01-30 22:20:50 +08:00
Isaac
9c4e390f0d
Various improvements
2026-01-30 18:50:18 +08:00
Mikhail Filimonov
6f3f664f82
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
2026-01-27 10:12:40 +01:00
Mikhail Filimonov
c1659b34e8
macos related
2026-01-27 10:12:34 +01:00
Ilya Laktyushin
0d12dd29ad
Various improvements
2026-01-25 22:17:49 +04:00
Ilya Laktyushin
206bb40479
Update API
2026-01-22 21:21:24 +04:00
Isaac
50c5cc9616
Refactor constructor use sites for types 560-579 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-19 00:40:53 +08:00
Isaac
64d8fe6ba0
Refactor constructor use sites for types 520-539 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-19 00:14:18 +08:00
Isaac
6746305b4b
Refactor constructor use sites for types 500-519 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-19 00:06:07 +08:00
Isaac
b1f723fbe8
Refactor constructor use sites for types 480-499 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 23:47:18 +08:00
Isaac
5e4cbec07a
Refactor constructor use sites for types 460-479 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 23:36:22 +08:00
Isaac
1f4b520b1b
Refactor constructor use sites for types 440-459 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 23:29:12 +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
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
9b71eb0f8f
Refactor constructor use sites for types 340-359 to struct pattern
...
Updates TelegramCore to work with --struct-count=360. This batch includes
story types, update types, user types, theme types, and various other
constructors in the 340-359 type range.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 22:21:57 +08:00
Isaac
8a99f76f93
Refactor constructor use sites for types 320-339 to struct pattern
...
Migrated constructors: starsSubscription, starsSubscriptionPricing,
starsTopupOption, starsTransaction, starsTransactionPeer,
statsAbsValueAndPrev, statsDateRangeDays, statsGraph, statsGraphAsync,
statsGraphError, statsGroupTopAdmin, statsGroupTopInviter,
statsGroupTopPoster, statsPercentValue, stickerKeyword, stickerPack,
stickerSet, stickerSetCovered, stickerSetFullCovered,
stickerSetMultiCovered, stickerSetNoCovered, storiesStealthMode,
storyAlbum, storyFwdHeader
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 15:06:15 +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
42b89bbb90
Refactor constructor use sites for types 260-279 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 14:34:07 +08:00
Isaac
07313cbb84
Refactor constructor use sites for types 250-259 to struct pattern
...
Migrates the following constructors to use struct-wrapped associated values:
- postInteractionCountersMessage, postInteractionCountersStory
- premiumGiftCodeOption, premiumSubscriptionOption
- prepaidGiveaway, prepaidStarsGiveaway
- privacyValueAllowChatParticipants, privacyValueAllowUsers
- privacyValueDisallowChatParticipants, privacyValueDisallowUsers
- publicForwardMessage, publicForwardStory
- quickReply
- reactionCustomEmoji, reactionEmoji
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 14:24:53 +08:00
Isaac
90737abf6d
Refactor constructor use sites for types 240-249 to struct pattern
...
Types refactored: phoneCallProtocol, phoneConnection, phoneConnectionWebrtc,
photo, photoEmpty, photoCachedSize, photoPathSize, photoSize, photoSizeEmpty,
photoSizeProgressive, photoStrippedSize, poll, pollAnswer, pollAnswerVoters,
pollResults, popularContact, postAddress
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 02:25:52 +08:00
Isaac
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
Isaac
3e5775b48e
Refactor constructor use sites for types 210-220 to struct pattern
...
Types refactored:
- myBoost, nearestDc, notificationSound*, notifyForumTopic, notifyPeer
- outboxReadDate, page, pageBlock*, pageCaption, pageListItem*
Files modified (8):
- ApiUtils/InstantPage.swift (33 constructors)
- ApiUtils/TelegramPeerNotificationSettings.swift (2 constructors)
- ForumChannels.swift (1 constructor)
- State/AccountStateManagementUtils.swift (2 constructors)
- State/ChannelBoost.swift (1 constructor)
- State/UpdatesApiUtils.swift (1 constructor)
- TelegramEngine/Messages/MessageReadStats.swift (1 constructor)
- TelegramEngine/Peers/NotificationExceptionsList.swift (1 constructor)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 01:15:19 +08:00
Isaac
94b53b190a
Refactor constructor use sites for types 200-209 to struct pattern
...
Refactored constructors: messageReactions, messageReactor, messageReplies,
messageReplyHeader, messageReplyStoryHeader, messageViews,
inputMessagesFilterPhoneCalls, messagePeerVote, messagePeerVoteInputOption,
messagePeerVoteMultiple, messageReportOption, missingInvitee
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 01:01:19 +08:00
Isaac
61983a113a
Refactor constructor use sites for types 190-199 to struct pattern
...
Refactored constructors include:
- maskCoords, mediaArea*, message, messageEmpty, messageService
- messageAction* (50+ action types)
- messageEntity* (20+ entity types)
- messageMedia* (20+ media types)
- messageFwdHeader, messagePeerReaction, messageExtendedMedia*
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 00:45:23 +08:00
Isaac
8696bb0c2a
Fix constructors
2026-01-16 15:40:50 +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
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
Isaac
ac019b15c5
Refactor Api types 90-99 to use struct-wrapped constructors
...
Types refactored (file-grouped parallel approach):
- encrypted* (Chat, ChatDiscarded, ChatEmpty, ChatRequested, ChatWaiting,
File, Message, MessageService)
- chatInviteExported
- exported* (ChatlistInvite, ContactToken, MessageLink, StoryLink)
- factCheck
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 02:19:54 +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