Commit graph

76 commits

Author SHA1 Message Date
Ilya Laktyushin
0df319742a Update API 2026-04-16 01:18:22 +02:00
Ilya Laktyushin
ed55943a44 Various improvements 2026-03-27 01:13:38 +01:00
Ilya Laktyushin
25762d1133 Various fixes 2026-03-24 17:21:46 +01:00
Ilya Laktyushin
34f5b9d4c2 Update API 2026-03-20 12:48:05 +01:00
Ilya Laktyushin
6519b5c84d [WIP] Polls 2026-03-17 11:12:58 +01:00
Ilya Laktyushin
3a311f75bd Update API 2026-03-16 13:37:36 +01:00
Mikhail Filimonov
dce5832d4d location 2026-03-12 14:25:05 +00:00
Mikhail Filimonov
a02f811c2a polls 2026-03-11 17:41:41 +00:00
Ilya Laktyushin
6c1376169c Update API 2026-03-11 14:37:23 +01:00
Ilya Laktyushin
713f557e64 Update API 2026-03-09 14:32:10 +01:00
Ilya Laktyushin
c68337ef70 Update API 2026-03-08 08:49:21 +01:00
Isaac
ad30eb2bc5 Update 2026-02-24 14:00:41 +01:00
Ilya Laktyushin
e17c7d9859 Update API 2026-02-05 17:27:47 +04:00
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
61983a113a Refactor constructor use sites for types 190-199 to struct pattern
Refactored constructors include:
- maskCoords, mediaArea*, message, messageEmpty, messageService
- messageAction* (50+ action types)
- messageEntity* (20+ entity types)
- messageMedia* (20+ media types)
- messageFwdHeader, messagePeerReaction, messageExtendedMedia*

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 00:45:23 +08:00
Isaac
8696bb0c2a Fix constructors 2026-01-16 15:40:50 +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
Ilya Laktyushin
f781dbd25f Update API 2025-12-15 15:45:34 +04: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
997bcf7edf Update API 2025-05-30 12:37:57 +02: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
Isaac
923587b0da [WIP] Dynamic video streaming 2024-09-18 01:04:29 +08:00
Isaac
272a5df7ac Update API 2024-08-26 23:23:57 +08:00
Ilya Laktyushin
3e448e833e Story covers 2024-07-19 17:43:17 +04:00
Ilya Laktyushin
d23c90ea7d Fix build 2024-07-16 16:47:42 +04:00
Ilya Laktyushin
829174356f Paid media improvements 2024-06-24 14:00:48 +04:00
Ilya Laktyushin
e47b5a89ef Paid media improvements 2024-06-24 04:06:57 +04:00
Ilya Laktyushin
40a4183095 Paid media content 2024-06-18 18:57:32 +04:00
Isaac
66d88f8c9b Update API 2024-04-19 18:39:32 +04:00
Isaac
7df240019c Recent/saved sticker reference validation 2024-04-10 13:59:52 +04:00
Ilya Laktyushin
9ec01a7f24 Update API 2024-04-08 16:42:46 +04:00
Isaac
d51d0960b0 Update API 2024-03-11 23:57:29 +04:00
Isaac
21866185a8 Various improvements 2023-12-21 23:36:38 +04:00
Ilya Laktyushin
19d88aafcc Various fixes 2023-11-22 17:25:59 +04:00
Ali
21af13cfdb Re-implement external sharing to secret chats 2023-11-06 20:18:59 +04:00
Ali
af8474aca5 [WIP] Quotes and link previews 2023-10-18 01:11:23 +04:00
Ilya Laktyushin
9b8e4d2ca3 Various fixes 2023-09-18 01:01:51 +04:00
Ilya Laktyushin
28dd60b887 Secret media improvements 2023-09-09 19:38:57 +04:00
Ilya Laktyushin
2364234f04 Various improvements 2023-09-08 21:58:28 +04:00
Ali
961fb14d94 Story API update 2023-08-25 20:41:36 +04:00
Ilya Laktyushin
6d255e16a3 Various fixes 2023-08-12 23:01:30 +02:00