Commit Graph

694 Commits

Author SHA1 Message Date
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
859f5acea5 Refactor constructor use sites for types 300-319 to struct pattern
Migrated star gift and stars-related constructors including:
- starGift, starGiftUnique (pattern matches)
- starGiftAttribute*, starGiftAuction* constructors
- starsAmount, starsTonAmount, starsGiftOption
- starsGiveawayOption, starsGiveawayWinnersOption
- starsRevenueStatus, starRefProgram, starsRating
- starGiftCollection, starGiftUpgradePrice, starGiftBackground

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 14:54:12 +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
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
d2cf720e0a Refactor constructor use sites for types 180-189 to struct pattern
Refactored constructors:
- JSON types: jsonObjectValue, jsonArray, jsonBool, jsonNumber, jsonObject, jsonString
- Invoice types: invoice, labeledPrice
- Keyboard button types: keyboardButton, keyboardButtonCallback, keyboardButtonUrl, etc.
- Lang pack types: langPackDifference, langPackString, langPackStringPluralized, langPackStringDeleted, langPackLanguage
- Input web file types: inputWebFileLocation, inputWebFileAudioAlbumThumbLocation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:27:04 +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
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
Isaac
9f757cbf74 Refactor Api types 33-42 to use struct-wrapped constructors
Types refactored:
- BusinessBotRecipients, BusinessBotRights, BusinessChatLink
- BusinessGreetingMessage, BusinessIntro, BusinessLocation
- BusinessRecipients, BusinessWeeklyOpen, BusinessWorkHours, CdnConfig

Updated pattern matching and construction sites in TelegramCore.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 19:41:25 +08:00
Isaac
2db08cde89 Glass 2026-01-13 19:21:49 +04:00
Ilya Laktyushin
d70b31f8bc Fix build 2026-01-08 19:21:29 +04:00
Mikhail Filimonov
35cfd6d0d2 craft 2026-01-08 15:27:38 +04:00
Ilya Laktyushin
fdc66446ce Various improvements 2025-12-29 22:42:58 +04:00
Ilya Laktyushin
966182bd2f Various improvements 2025-12-29 10:05:51 +04:00
Ilya Laktyushin
28d4e1e171 Various improvements 2025-12-16 20:05:44 +04:00
Ilya Laktyushin
f781dbd25f Update API 2025-12-15 15:45:34 +04:00
Isaac
a63c90aa00 Glass 2025-12-12 23:58:00 +08:00
Ilya Laktyushin
653ee1b299 Update API 2025-12-02 14:28:47 +04:00
Ilya Laktyushin
5046aab8ff Update API 2025-12-02 12:36:05 +04:00
Ilya Laktyushin
6bc1fe1939 Various improvements 2025-12-01 19:54:58 +04:00
Ilya Laktyushin
b04eee8289 Update API [skip ci] 2025-11-27 19:55:24 +04:00
Ilya Laktyushin
412e02ef00 Gift auctions 2025-11-12 04:46:02 +04:00
Ilya Laktyushin
b76c6c9b3c Update API 2025-11-08 23:17:00 +04:00
Ilya Laktyushin
2b2937a2eb Update API 2025-11-04 17:11:50 +04:00
Ilya Laktyushin
5ac77b9f31 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-10-29 17:21:34 +04:00
Ilya Laktyushin
5877f2c20d Various improvements 2025-10-29 17:20:36 +04:00
Isaac
aa637d96d7 Stories 2025-10-28 12:41:50 +04:00
Isaac
e44bd4d858 Story updates 2025-10-21 18:28:45 +04:00
Ilya Laktyushin
0915a42e64 Various improvements 2025-10-16 05:30:06 +04:00
Isaac
b9b38e5fbf Various improvements 2025-10-11 00:56:21 +08:00
Ilya Laktyushin
737f84bb13 Various fixes 2025-09-25 21:47:46 +04:00
Ilya Laktyushin
a0e96582dd Update API [skip ci] 2025-09-19 12:20:21 +04:00
Ilya Laktyushin
cb523192d5 Various improvements 2025-09-17 20:58:42 +04:00
Ilya Laktyushin
f2c2b9ae8c Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-09-06 14:59:59 +05:00
Ilya Laktyushin
76e8d79f9f Update API 2025-09-06 13:35:19 +05:00
Isaac
1d06c3f058 Bot forums v2 2025-09-05 15:25:50 +02:00
Ilya Laktyushin
4e1b9943a4 Various improvements 2025-08-26 15:44:41 +04:00
Ilya Laktyushin
800cfaf6c5 Update API 2025-08-26 12:25:23 +04:00
Ilya Laktyushin
618859a050 Update API 2025-08-25 18:37:14 +04:00
Ilya Laktyushin
cb1f5058a7 Update API 2025-08-25 17:23:25 +04:00
Ilya Laktyushin
e7c698d5f1 Various fixes 2025-08-23 21:40:21 +04:00
Ilya Laktyushin
a60a437206 Various improvements 2025-08-22 21:46:07 +04:00
Ilya Laktyushin
75c773e694 Update API [skip ci] 2025-08-22 15:52:58 +04:00
Mikhail Filimonov
64ccf14ba2 unwrap value 2025-08-21 16:38:55 +01:00
Ilya Laktyushin
66a614a9a4 Update API 2025-08-20 22:31:58 +04:00
Ilya Laktyushin
f828becdb2 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-08-18 13:48:46 +04:00
Ilya Laktyushin
ba5b9295a3 Update API 2025-08-18 13:44:14 +04:00
Isaac
826c48a4dc Bot updates 2025-08-15 13:35:06 +02:00