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
Isaac
02167b9b86
Refactor Api types 65-69 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 01:38:37 +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
dc3d2dc789
Refactor Api types 53-59 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 01:14:05 +08:00
Isaac
68d60d34dc
Refactor Api types 43-52 to use struct-wrapped constructors
...
Also adds -warnings-as-errors to TelegramCore Package.swift
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 00:33:37 +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
375c1bc3e0
Refactor Api types 23-32 to use struct-wrapped constructors
...
Types refactored:
- BotCommandScope*, BotInfo, BotInlineMessage*, BotInlineResult
- BotMenuButton, BotPreviewMedia, BotVerification, BotVerifierSettings
- BusinessAwayMessage, BusinessAwayMessageScheduleCustom
Updated pattern matching and construction sites in TelegramCore.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 19:31:50 +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
Isaac
138cc9f51e
Refactor Api types 0-2 to use struct-wrapped constructors
...
- AccountDaysTTL, AttachMenuBot, AttachMenuBotIcon now use Cons_* classes
- Updated use sites in TelegramCore to destructure from wrapper
- Generated Api files with stub functions for faster compilation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 18:59:46 +08:00
Mikhail Filimonov
35cfd6d0d2
craft
2026-01-08 15:27:38 +04:00
Isaac
87187bd414
Fixes
2026-01-02 23:11:51 +08:00
Ilya Laktyushin
966182bd2f
Various improvements
2025-12-29 10:05:51 +04:00
Ilya Laktyushin
2edce5ebf2
Alerts
2025-12-22 00:19:11 +04:00
Ilya Laktyushin
f781dbd25f
Update API
2025-12-15 15:45:34 +04: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
b04eee8289
Update API [skip ci]
2025-11-27 19:55:24 +04:00
Isaac
ddcea95734
Update API [skip ci]
2025-11-25 23:05:01 +08:00
Isaac
95ecb88025
Passkeys
2025-11-19 00:07:50 +08:00
Ilya Laktyushin
e680691988
Update API
2025-11-12 22:06:23 +04:00
Ilya Laktyushin
412e02ef00
Gift auctions
2025-11-12 04:46:02 +04:00
Ilya Laktyushin
aba2704dcb
Update API
2025-11-10 20:26:02 +04:00
Ilya Laktyushin
b76c6c9b3c
Update API
2025-11-08 23:17:00 +04:00
Ilya Laktyushin
e7bd31137a
Update API
2025-11-04 17:40:19 +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
Isaac
c880397eca
Stories
2025-10-26 22:05:58 +04:00
Isaac
1967e1e273
Update
2025-10-24 13:34:55 +04:00
Isaac
e44bd4d858
Story updates
2025-10-21 18:28:45 +04:00
Isaac
7e3abe798f
Update
2025-10-17 23:51:58 +08:00
Isaac
f468cea13c
Update API
2025-10-15 17:06:40 +08:00
Isaac
b9b38e5fbf
Various improvements
2025-10-11 00:56:21 +08:00
Isaac
e3f7405fae
Update API
2025-09-26 21:06:43 +08:00
Isaac
8c89dccf39
Update API
2025-09-26 20:05:27 +08:00
Ilya Laktyushin
7dfd3b1d87
Various improvements
2025-09-26 01:30:15 +04:00
Ilya Laktyushin
700c915495
Update API
2025-09-25 15:00:14 +04:00
Ilya Laktyushin
cb523192d5
Various improvements
2025-09-17 20:58:42 +04:00
Isaac
3e6c432511
Cherry-pick group call messages
2025-09-12 11:06:40 +02: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
59239ca2df
Update API
2025-09-05 15:10:45 +05:00
Ilya Laktyushin
bbef11084a
Update API
2025-08-26 23:58:41 +04:00
Ilya Laktyushin
800cfaf6c5
Update API
2025-08-26 12:25:23 +04:00