Commit Graph

330 Commits

Author SHA1 Message Date
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
a526aee73e Refactor Api types 13-22 to use struct-wrapped constructors
Types refactored:
- AvailableReaction, BankCardOpenUrl, Birthday, Boost
- BotApp, BotAppSettings, BotBusinessConnection, BotCommand

Updated pattern matching and construction sites in TelegramCore.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 19:19:24 +08:00
Isaac
94cb9d3228 Refactor Api types 3-12 to use struct-wrapped constructors
Types refactored:
- AttachMenuBotIconColor, AttachMenuBots, AttachMenuBotsBot
- AuctionBidLevel, Authorization, AutoDownloadSettings
- AutoSaveException, AutoSaveSettings, AvailableEffect

Updated pattern matching and construction sites in TelegramCore.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 19:11:04 +08:00
Mikhail Filimonov
f3090d3b91 failed craft 2026-01-08 15:38:27 +04:00
Mikhail Filimonov
35cfd6d0d2 craft 2026-01-08 15:27:38 +04:00
Mikhail Filimonov
fdf8fef76c isRefunded for savedGift 2025-12-12 15:47:04 +04:00
Ilya Laktyushin
f7dc38b52e Various fixes 2025-12-08 00:07:54 +04:00
Ilya Laktyushin
e84fc33aa9 Fix 2025-12-05 23:46:46 +04:00
Mikhail Filimonov
6a0763f8fc Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-12-03 11:22:28 +04:00
Ilya Laktyushin
ecb12a784e Various improvements 2025-12-02 19:22:06 +04:00
Mikhail Filimonov
e2b49cc712 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-12-02 14:29:35 +04:00
Ilya Laktyushin
653ee1b299 Update API 2025-12-02 14:28:47 +04:00
Mikhail Filimonov
231b2d320b Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-12-02 13:10:09 +04:00
Ilya Laktyushin
5046aab8ff Update API 2025-12-02 12:36:05 +04:00
Mikhail Filimonov
31d1b0ac63 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-11-28 09:31:35 +04:00
Ilya Laktyushin
b04eee8289 Update API [skip ci] 2025-11-27 19:55:24 +04:00
Mikhail Filimonov
a9511e7c57 improvements 2025-11-26 22:49:31 +04:00
Ilya Laktyushin
74b761c53f Various improvements 2025-11-16 01:22:06 +04:00
Mikhail Filimonov
0a5c043896 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-11-15 10:58:58 +04:00
Ilya Laktyushin
82addaa434 Various improvements 2025-11-15 01:14:50 +04:00
Ilya Laktyushin
807fa893c5 Various fixes 2025-11-14 15:02:49 +04:00
Mikhail Filimonov
2a35678e2b Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-11-14 11:01:26 +04:00
Mikhail Filimonov
a8d4de1224 - auctions, small fix 2025-11-14 11:01:16 +04:00
Ilya Laktyushin
5e17b321f8 Various improvements 2025-11-13 22:06:24 +04:00
Ilya Laktyushin
d574fb7a11 Various fixes 2025-11-13 16:10:30 +04:00
Ilya Laktyushin
62157e92ae Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-11-13 15:20:24 +04:00
Ilya Laktyushin
e9a3e599a1 Various improvements 2025-11-13 15:16:41 +04:00
Mikhail Filimonov
87baa1b655 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-11-13 11:25:50 +04:00
Mikhail Filimonov
2f66d9931c auction is active 2025-11-13 11:25:42 +04:00
Ilya Laktyushin
e680691988 Update API 2025-11-12 22:06:23 +04:00
Ilya Laktyushin
1be0aaef7c Various improvements 2025-11-12 19:43:42 +04:00
Ilya Laktyushin
bdcc80e649 Various improvements 2025-11-12 18:20:38 +04:00
Ilya Laktyushin
ac28ed9d74 Various improvements 2025-11-12 17:47:34 +04:00
Ilya Laktyushin
412e02ef00 Gift auctions 2025-11-12 04:46:02 +04:00
Mikhail Filimonov
430994d341 - added missing API 2025-11-11 14:24:55 +07:00
Ilya Laktyushin
aba2704dcb Update API 2025-11-10 20:26:02 +04:00
Ilya Laktyushin
ea8dc07b23 Update API 2025-11-10 18:58:38 +04:00
Ilya Laktyushin
b76c6c9b3c Update API 2025-11-08 23:17:00 +04:00
Ilya Laktyushin
b559663d6a Various improvements 2025-11-06 13:55:58 +04:00
Ilya Laktyushin
2b2937a2eb Update API 2025-11-04 17:11:50 +04:00
Ilya Laktyushin
1d139d11bf Update API 2025-10-30 15:04:58 +04:00
Ilya Laktyushin
5877f2c20d Various improvements 2025-10-29 17:20:36 +04:00
Ilya Laktyushin
aa15e6c5fe Various improvements 2025-09-29 10:55:21 +04:00
Ilya Laktyushin
c7f607865a Various improvements 2025-09-28 20:04:45 +04:00
Ilya Laktyushin
6d59a6394a Various fixes 2025-09-28 03:01:43 +04:00
Ilya Laktyushin
737f84bb13 Various fixes 2025-09-25 21:47:46 +04:00
Ilya Laktyushin
700c915495 Update API 2025-09-25 15:00:14 +04:00
Ilya Laktyushin
e61870dd0d Various improvements 2025-09-23 01:28:32 +04:00