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
6b2c0f9c53
Refactor constructor use sites for types 100-119 to struct pattern
...
Migrated 22 constructors: fileHash, folder, folderPeer, forumTopic,
forumTopicDeleted, foundStory, game, geoPoint, geoPointAddress,
globalPrivacySettings, groupCall, groupCallDiscarded, groupCallDonor,
groupCallMessage, groupCallParticipant, groupCallParticipantVideo,
groupCallParticipantVideoSourceGroup, groupCallStreamChannel,
highScore, importedContact, inlineBotSwitchPM, inlineBotWebView
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 02:41:47 +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
Isaac
02167b9b86
Refactor Api types 65-69 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 01:38:37 +08:00
Isaac
df3b1cddcf
Refactor Api types 60-64 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 01:29:09 +08:00
Isaac
dc3d2dc789
Refactor Api types 53-59 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 01:14:05 +08:00
Isaac
68d60d34dc
Refactor Api types 43-52 to use struct-wrapped constructors
...
Also adds -warnings-as-errors to TelegramCore Package.swift
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 00:33:37 +08:00
Isaac
375c1bc3e0
Refactor Api types 23-32 to use struct-wrapped constructors
...
Types refactored:
- BotCommandScope*, BotInfo, BotInlineMessage*, BotInlineResult
- BotMenuButton, BotPreviewMedia, BotVerification, BotVerifierSettings
- BusinessAwayMessage, BusinessAwayMessageScheduleCustom
Updated pattern matching and construction sites in TelegramCore.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 19:31:50 +08:00
Isaac
a526aee73e
Refactor Api types 13-22 to use struct-wrapped constructors
...
Types refactored:
- AvailableReaction, BankCardOpenUrl, Birthday, Boost
- BotApp, BotAppSettings, BotBusinessConnection, BotCommand
Updated pattern matching and construction sites in TelegramCore.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 19:19:24 +08:00
Isaac
aa637d96d7
Stories
2025-10-28 12:41:50 +04:00
Ilya Laktyushin
d58757ca3c
Various improvements
2025-10-16 19:19:50 +04:00
Ilya Laktyushin
7dfd3b1d87
Various improvements
2025-09-26 01:30:15 +04:00
Ilya Laktyushin
85f8bde398
Various fixes
2025-09-25 23:19:21 +04:00
Ilya Laktyushin
e61870dd0d
Various improvements
2025-09-23 01:28:32 +04:00
Ilya Laktyushin
400a67e240
Various improvements
2025-09-22 18:56:39 +04:00
Ilya Laktyushin
a0e96582dd
Update API [skip ci]
2025-09-19 12:20:21 +04:00
Ilya Laktyushin
b6507b6cfb
Various improvements
2025-09-17 21:27:37 +04:00
Ilya Laktyushin
cb523192d5
Various improvements
2025-09-17 20:58:42 +04:00
Isaac
1d06c3f058
Bot forums v2
2025-09-05 15:25:50 +02:00
Isaac
f77609e6fa
Various improvements
2025-08-25 22:57:08 +02:00
Ilya Laktyushin
cb1f5058a7
Update API
2025-08-25 17:23:25 +04:00
Ilya Laktyushin
498ce24a09
Various fixes
2025-08-25 02:16:37 +04:00
Ilya Laktyushin
5749548ac8
Various fixes
2025-08-24 17:39:47 +04:00
Ilya Laktyushin
0bac271cdb
[WIP] Saved music
2025-08-21 09:08:35 +04:00
Ilya Laktyushin
66a614a9a4
Update API
2025-08-20 22:31:58 +04:00
Ilya Laktyushin
927d6ad0a8
Saved music reordering
2025-08-19 12:11:47 +04:00
Ilya Laktyushin
ba5b9295a3
Update API
2025-08-18 13:44:14 +04:00
Ilya Laktyushin
8f70aa3957
Various fixes
2025-08-13 10:27:26 +04:00
Ilya Laktyushin
cc7fc32ab1
Update API
2025-08-12 16:10:08 +04:00
Ilya Laktyushin
b83e7d81ee
Update API
2025-08-12 13:12:07 +04:00
Isaac
709d474929
Update API
2025-08-08 13:24:44 +02:00
Isaac
f32c9f52d5
Global search
2025-07-28 19:10:07 +02:00
Isaac
e315e6da6e
Global search
2025-07-27 15:01:53 +02:00
Isaac
b8ac955792
Update
2025-07-25 17:40:09 +02:00
Isaac
46dad2eddc
WIP
2025-07-25 15:20:36 +02:00
Isaac
2ed6f9616b
Peer star rating
2025-07-11 14:53:02 +04:00
Ilya Laktyushin
8862492480
Update API
2025-06-28 17:38:45 +02:00
Ilya Laktyushin
dbda23b1e1
Various fixes
2025-06-25 21:53:07 +02:00
Isaac
06eaf81fa9
[WIP] Post suggestion
2025-06-17 13:55:44 +04:00
Isaac
76a24167d9
Update API
2025-06-13 02:22:28 +08:00
Isaac
c42b2bd9c0
Various improvements
2025-06-11 13:37:58 +08:00
Isaac
cd3c27fcc2
Various improvements
2025-06-06 15:13:43 +08:00
Isaac
7b72c1a034
Monoforums
2025-05-29 00:23:43 +08:00
Isaac
db34a7c175
Monoforums
2025-05-28 17:05:37 +08:00
Isaac
4c3ad04015
Refactor chat controller data management
2025-05-22 02:29:14 +08:00
Isaac
f681453bd0
Update API
2025-05-17 00:34:35 +08:00
Isaac
1a56afcb48
[WIP] Monoforums
2025-05-16 01:02:25 +08:00
Isaac
b752a49432
Update API
2025-05-15 00:54:50 +08:00