Commit Graph

260 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
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
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
Ilya Laktyushin
f781dbd25f Update API 2025-12-15 15:45:34 +04:00
Ilya Laktyushin
d574fb7a11 Various fixes 2025-11-13 16:10:30 +04:00
Isaac
3ab4850306 Updates [skip ci] 2025-11-04 11:35:11 +04:00
Isaac
5bc61d614c Update animation 2025-11-03 14:15:49 +04:00
Ilya Laktyushin
5877f2c20d Various improvements 2025-10-29 17:20:36 +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
Ilya Laktyushin
c7f607865a Various improvements 2025-09-28 20:04:45 +04:00
Ilya Laktyushin
4657ac752d Various improvements 2025-09-27 01:27:56 +04:00
Ilya Laktyushin
7dfd3b1d87 Various improvements 2025-09-26 01:30:15 +04:00
Isaac
3e6c432511 Cherry-pick group call messages 2025-09-12 11:06:40 +02:00
Isaac
1d06c3f058 Bot forums v2 2025-09-05 15:25:50 +02:00
Isaac
f77609e6fa Various improvements 2025-08-25 22:57:08 +02:00
Ilya Laktyushin
cb1f5058a7 Update API 2025-08-25 17:23:25 +04:00
Isaac
ee749050f0 Bot forums 2025-08-19 17:24:33 +02:00
Isaac
8843fbe5cb Support typing drafts 2025-08-15 09:18:11 +02:00
Isaac
e315e6da6e Global search 2025-07-27 15:01:53 +02:00
Isaac
a5ad030123 Update 2025-07-22 16:08:51 +02:00
Ilya Laktyushin
b4832ff856 Update API 2025-07-14 12:50:11 +01:00
Isaac
3ed857bfc3 Various improvements 2025-06-29 18:15:50 +02:00
Isaac
15c9af3ab2 Merge commit 'cbb4a890b29c350992641f47bf60bf61440555bd' 2025-06-28 20:42:59 +02:00
Ilya Laktyushin
8862492480 Update API 2025-06-28 17:38:45 +02:00
Isaac
7512f7f017 Cleanup 2025-06-28 13:14:15 +02:00
Isaac
9a14b076c6 Update API [skip ci] 2025-06-23 21:52:31 +02:00
Ilya Laktyushin
c22e60092f Update API 2025-06-21 13:40:00 +02:00
Isaac
06eaf81fa9 [WIP] Post suggestion 2025-06-17 13:55:44 +04:00
Isaac
c42b2bd9c0 Various improvements 2025-06-11 13:37:58 +08:00
Isaac
e2bc739c7f Monoforums 2025-05-27 13:13:53 +08:00
Isaac
5cdce4b21a Support monoforum reactions 2025-05-24 22:42:26 +08:00
Isaac
77e21b4047 Monoforums 2025-05-23 18:04:36 +08:00
Isaac
9633013275 Monoforums 2025-05-23 15:56:01 +08:00
Isaac
f7db73db40 Update API 2025-05-20 17:23:26 +08:00
Isaac
09c49d47d9 [WIP] Monoforums 2025-05-16 21:03:00 +08:00
Isaac
0e119dd6f1 [WIP] Monoforums 2025-05-08 20:56:55 +01:00
Isaac
105b8fd8bd Update API 2025-04-09 12:45:43 +04:00
Isaac
aaf52d4282 Conference calls 2025-03-30 02:06:50 +04:00
Ilya Laktyushin
4f42e41180 Update API [skip ci] 2025-02-21 17:23:25 +04:00
Ilya Laktyushin
d167aa4b0e Update API [skip ci] 2025-02-18 10:09:58 +04:00
Isaac
18db7a1a58 Add reaction privacy 2025-01-31 21:06:17 +04:00
Isaac
40828e9037 [WIP] UI 2025-01-21 21:08:44 +04:00
Ilya Laktyushin
5d4213c4fc Various improvements 2024-12-27 23:04:34 +04:00
Ilya Laktyushin
e3ee1dde7e Update API [skip ci] 2024-12-27 09:16:41 +04:00