Commit Graph

163 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
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
Ilya Laktyushin
f781dbd25f Update API 2025-12-15 15:45:34 +04:00
Ilya Laktyushin
b04eee8289 Update API [skip ci] 2025-11-27 19:55:24 +04:00
Isaac
7acf2b0b41 Forum improvements 2025-11-11 20:05:29 +08:00
Ilya Laktyushin
4432581c77 Various improvements 2025-10-31 18:13:30 +04:00
Ilya Laktyushin
0915a42e64 Various improvements 2025-10-16 05:30:06 +04: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
Isaac
4f4fc92345 Bot forum updates 2025-09-05 15:43:19 +02:00
Ilya Laktyushin
a60a437206 Various improvements 2025-08-22 21:46:07 +04:00
Isaac
8843fbe5cb Support typing drafts 2025-08-15 09:18:11 +02:00
Ilya Laktyushin
b4832ff856 Update API 2025-07-14 12:50:11 +01:00
Isaac
3e40713aad Various improvements 2025-06-26 20:29:23 +02:00
Isaac
df3e2db84c Suggested posts 2025-06-20 15:37:26 +02:00
Isaac
2c53fd2273 Update API 2025-06-13 02:15:04 +08:00
Ilya Laktyushin
8709581d6a Update API 2025-06-06 09:52:11 +02:00
Ilya Laktyushin
997bcf7edf Update API 2025-05-30 12:37:57 +02:00
Isaac
f681453bd0 Update API 2025-05-17 00:34:35 +08:00
Isaac
09c49d47d9 [WIP] Monoforums 2025-05-16 21:03:00 +08:00
Isaac
b752a49432 Update API 2025-05-15 00:54:50 +08:00
Isaac
f90402102b [WIP] Monoforums 2025-05-14 00:50:46 +08:00
Isaac
140efd6cfd [WIP] Monoforums 2025-05-10 18:02:55 +01:00
Isaac
0e119dd6f1 [WIP] Monoforums 2025-05-08 20:56:55 +01:00
Isaac
603d5754db [WIP] Post suggestions 2025-04-23 12:18:56 +04:00
Ilya Laktyushin
79f621390e Fix paid message resend 2025-03-08 00:47:41 +04:00
Ilya Laktyushin
b2351194d4 Various fixes 2025-02-24 17:11:08 +04:00
Ilya Laktyushin
4f42e41180 Update API [skip ci] 2025-02-21 17:23:25 +04:00
Ilya Laktyushin
2f2a27f0d2 Various improvements [skip ci] 2025-02-12 22:15:02 +04:00
Ilya Laktyushin
bf8c4f1ecd Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-01-22 13:37:05 +04:00
Ilya Laktyushin
c0bfe87449 Various improvements 2025-01-22 13:24:13 +04:00
Isaac
40828e9037 [WIP] UI 2025-01-21 21:08:44 +04:00
Ilya Laktyushin
d6964efa67 Various improvements 2025-01-21 01:15:01 +04:00
Ilya Laktyushin
a8fd8c6085 Update API [skip ci] 2025-01-17 18:13:42 +04:00
Ilya Laktyushin
b6f8cce7ea Update API [skip ci] 2025-01-10 15:22:27 +04:00
Ilya Laktyushin
6af4b0c184 Fix sharing 2024-12-18 23:44:47 +04:00
Isaac
d3d6e415de Fix share text from external 2024-12-06 22:14:55 +08:00
Ilya Laktyushin
d2b5476293 [WIP] Story collage 2024-11-27 18:41:03 +04:00
Isaac
caf10fe889 Various improvements 2024-10-25 11:24:06 +02:00
Mikhail Filimonov
4293bf79c9 macos related changes 2024-09-24 15:11:59 -03:00
Isaac
923587b0da [WIP] Dynamic video streaming 2024-09-18 01:04:29 +08:00
Isaac
63f0bd38d0 Fix send as
(cherry picked from commit 9455250571)
2024-09-03 23:02:35 +08:00
Isaac
272a5df7ac Update API 2024-08-26 23:23:57 +08:00
Isaac
4ceb3ac58b Various improvements 2024-08-16 21:41:36 +08:00
Isaac
ce0e2ba62d Send as improvements 2024-08-12 22:34:30 +08:00
Isaac
289273dcd9 Update API [skip ci] 2024-08-08 14:15:32 +04:00
Ilya Laktyushin
3e448e833e Story covers 2024-07-19 17:43:17 +04:00