Commit Graph

39 Commits

Author SHA1 Message Date
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
90737abf6d Refactor constructor use sites for types 240-249 to struct pattern
Types refactored: phoneCallProtocol, phoneConnection, phoneConnectionWebrtc,
photo, photoEmpty, photoCachedSize, photoPathSize, photoSize, photoSizeEmpty,
photoSizeProgressive, photoStrippedSize, poll, pollAnswer, pollAnswerVoters,
pollResults, popularContact, postAddress

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 02:25:52 +08:00
Isaac
c6b0ef5da3 Refactor constructor use sites for types 220-239 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 02:08:10 +08:00
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
b9b38e5fbf Various improvements 2025-10-11 00:56:21 +08:00
Isaac
f9191aba6b Conference updates 2025-04-06 18:55:42 +04:00
Isaac
2393424bde Conference calls 2025-04-01 17:18:08 +04:00
Isaac
54c5314462 Update conference calls 2025-04-01 13:56:08 +04:00
Isaac
aaf52d4282 Conference calls 2025-03-30 02:06:50 +04:00
Isaac
1f517e187a [WIP] Conference calls 2025-02-11 18:46:59 +04:00
Isaac
962ca74101 [WIP] Conference calls 2025-02-07 15:22:47 +04:00
Isaac
869d607c4a [WIP] Conference 2025-01-31 21:07:00 +04:00
Isaac
a4717b7906 [WIP] Conference 2025-01-21 11:04:37 +04:00
Isaac
2b9f5ed541 [WIP] Conference calls 2024-12-18 23:35:27 +08:00
Isaac
abdfc238f8 [WIP] Conference calls 2024-12-14 01:16:30 +08:00
Isaac
7e9b1fcc40 [WIP] Conference calls 2024-12-10 22:17:36 +08:00
Isaac
ef12bf9ce6 Chat links and other features 2024-03-23 00:00:08 +04:00
Isaac
08ee841e45 UI improvements 2024-03-20 23:35:34 +04:00
Isaac
820b038bbc [WIP] Call UI 2023-12-18 02:06:39 +04:00
Ali
f3ee06dd32 Stories 2023-07-07 02:03:11 +04:00
Ali
b08561daab Update CallSessionManager 2023-03-24 13:56:54 +04:00
Ali
a7e4a28426 If there is no call session, return terminated state 2023-03-13 16:38:39 +04:00
Ali
fa77105b66 Update API 2022-05-07 23:40:31 +04:00
Ali
d8a9913b40 Updated log handling 2022-04-20 23:01:40 +04:00
Ali
a3aba87330 Voip updates 2022-04-19 23:26:29 +04:00
Ali
88994eac67 Fix race condition 2022-03-22 17:50:29 +04:00
Ali
ff446e7117 Update callkit integration 2021-10-27 20:41:25 +04:00
Ali
fe82f7020e Shared media improvements 2021-10-19 22:14:00 +04:00
Ali
1141e09c1b Refactoring 2021-09-07 13:09:06 +04:00
Ali
d6446a284b Merge branch 'master' into experimental-2 2021-08-05 01:44:20 +02:00
Ali
c058550feb Add -Werror 2021-08-04 20:42:54 +02:00
Ali
7c8ad70014 Merge branch 'master' into experimental-2 2021-07-21 22:04:58 +02:00
Ali
1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ali
4776730243 Merge branch 'master' into features/64-bit 2021-07-05 00:50:38 +04:00
Ali
4893e41de2 Refactoring [skip ci] 2021-07-05 00:48:11 +04:00
Ali
a23971c0ef Initial 64-bit id support 2021-06-28 20:02:50 +04:00
Ali
1b48517f12 Refactoring 2021-04-26 02:00:48 +04:00