171 Commits

Author SHA1 Message Date
Kylmakalle
256324b22b Version 12.4 2026-03-10 23:45:27 +02: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
962a9ae83a Various improvements 2026-01-30 22:20:50 +08: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
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