Commit Graph
722 Commits
Author SHA1 Message Date
Ilya Laktyushin b1a190f87a [WIP] Polls 2026-03-16 18:07:12 +01:00
Ilya Laktyushin 3a311f75bd Update API 2026-03-16 13:37:36 +01:00
Ilya Laktyushin 6980ca9397 Merge commit 'a824d97804304356d037fc2997027346879f8a56' 2026-03-14 00:08:02 +01:00
Ilya Laktyushin cbc5a49507 [WIP] Polls 2026-03-13 11:04:33 +01:00
Mikhail Filimonov a824d97804 api update 2026-03-13 10:40:03 +01:00
Mikhail Filimonov 5b04ae1131 update api 2026-03-12 19:29:26 +01:00
Mikhail Filimonov a02f811c2a polls 2026-03-11 17:41:41 +00:00
Ilya Laktyushin 6c1376169c Update API 2026-03-11 14:37:23 +01:00
Ilya Laktyushin 713f557e64 Update API 2026-03-09 14:32:10 +01:00
Ilya Laktyushin e3c84fce71 Various fixes 2026-02-27 14:34:18 +04:00
Ilya Laktyushin 9c16af25c0 Update API 2026-02-17 10:25:42 +04:00
Ilya Laktyushin c0f7cda4eb Update API 2026-02-12 15:37:57 +04:00
Ilya Laktyushin 189d25c32e Update API 2026-02-10 12:58:04 +04:00
Ilya Laktyushin 25952cfef6 Merge commit 'e81e7c6897279f64e47a637f3712e5bf677fb9a4' 2026-02-06 14:25:13 +04:00
Ilya Laktyushin 96bb624b2d Merge branch 'formatted-date-api' 2026-02-06 14:25:09 +04:00
Ilya Laktyushin e81e7c6897 Formatted date support 2026-02-06 14:24:03 +04:00
Ilya Laktyushin aa21a14c7d Update API [skip ci] 2026-02-06 13:35:20 +04:00
Ilya Laktyushin e17c7d9859 Update API 2026-02-05 17:27:47 +04:00
IsaacandIsaac cb802c524e Revert "Experiment"
This reverts commit 8c54db62f3.
2026-02-04 18:01:32 +08:00
IsaacandIsaac 8c54db62f3 Experiment 2026-02-04 03:22:37 +08:00
IsaacandIsaac bc3523d4e0 Various improvements 2026-02-02 17:38:32 +08:00
Ilya Laktyushin 7f75219a03 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-01-30 19:45:23 +04:00
IsaacandIsaac 47cef684ba Merge commit '15d0267e72d6d866751e2ab0c9d56cb3afabbe4d'
# Conflicts:
#	submodules/TelegramCore/Sources/SyncCore/SyncCore_TelegramMediaAction.swift
2026-01-30 22:40:53 +08:00
IsaacandIsaac 962a9ae83a Various improvements 2026-01-30 22:20:50 +08:00
Mikhail Filimonov 5389f949d9 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2026-01-29 14:07:16 +01:00
Ilya Laktyushin 142d59cf8f Various improvements 2026-01-27 22:24:31 +04:00
Mikhail Filimonov 589168318a update api (rarities, crafted) 2026-01-20 13:24:54 +01:00
Ilya Laktyushin ea9d8db1d3 Update API [skip ci] 2026-01-20 14:54:15 +04:00
IsaacIsaacClaude 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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude 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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude Opus 4.5
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
IsaacIsaacClaude Opus 4.5
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
IsaacandIsaac 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
IsaacandIsaac 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