Commit Graph

19 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
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
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
Ilya Laktyushin
b4832ff856 Update API 2025-07-14 12:50:11 +01:00
Isaac
9a14b076c6 Update API [skip ci] 2025-06-23 21:52:31 +02:00
Isaac
06eaf81fa9 [WIP] Post suggestion 2025-06-17 13:55:44 +04:00
Isaac
0e119dd6f1 [WIP] Monoforums 2025-05-08 20:56:55 +01:00
Isaac
fcb963c8db Fix build 2024-06-06 13:12:07 +04:00
Ali
bc3bdcd623 Support view as messages api 2023-11-04 00:36:52 +04:00
Ali
37a08e5d1e Update API 2023-10-14 18:14:53 +04:00
Ali
eae866c77e [WIP] Quotes 2023-10-07 00:33:12 +04:00
Ali
a76c90c1f5 Fix crash 2023-10-05 16:36:14 +04:00
Ali
c38cb154d7 Update API 2023-10-05 14:21:24 +04:00
Ali
2fc5591f0a [WIP] Topics 2022-10-17 18:37:11 +04:00
Ali
7d62cee9f5 Thread draft synchronization 2022-10-16 17:06:30 +04:00
Ilya Laktyushin
59b593696e Various improvements 2022-10-15 21:08:11 +03:00
Ali
7e6eb2b3bd Refactoring 2021-08-03 12:23:13 +02:00
Ali
1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ali
9e4853d9a7 Refactoring 2021-03-24 03:18:22 +04:00