13 Commits
Author SHA1 Message Date
IsaacandClaude Opus 4.5 1f4b520b1b Refactor constructor use sites for types 440-459 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 23:29:12 +08:00
IsaacandClaude Opus 4.5 b5dc0b2fd9 Refactor constructor use sites for types 400-419 to struct pattern
Refactored Api constructors in authorization and channel-related code:
- authorization, authorizationSignUpRequired, sentCode, sentCodeSuccess,
  sentCodePaymentRequired, sentCodeTypeFirebaseSms, and related types
- channelParticipant, channelParticipants, sendAsPeers, adminLogResults
- chatlistInvite, chatlistInviteAlready, chatlistUpdates, exportedChatlistInvite
- popularAppBots, sponsoredMessageReportResultChooseOption, and others

Fixed variable shadowing issues where 'user' was extracted and then
immediately shadowed by TelegramUser initialization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 23:15:21 +08:00
IsaacandClaude Opus 4.5 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 ffbc7921cf Web app improvements 2024-06-28 23:41:21 +04:00
Isaac 8736981248 Message effects improvements 2024-05-13 20:14:15 +04:00
Ilya Laktyushin 231d8f0808 Update API 2024-04-15 16:39:53 +04:00
Ilya Laktyushin 79645b4fef Update API [skip ci] 2023-03-08 13:23:02 +04:00
Ali 52877b552c Support firebase auth 2023-01-13 01:36:25 +04:00
Ilya Laktyushin 58f9896a10 Various fixes 2022-11-26 16:16:37 +04:00
Ilya Laktyushin aea7e12813 [WIP] Email authorization 2022-08-13 01:11:48 +03:00
Ali 3e60c417bf Update API [skip ci] 2021-11-23 17:07:59 +04: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