Commit Graph

12 Commits

Author SHA1 Message Date
Isaac
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
Isaac
5e27a39d80 Refactor constructor use sites for types 380-399 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 22:58:30 +08:00
Isaac
5712f3061f Refactor constructor use sites for types 280-299 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 14:42:21 +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
Ilya Laktyushin
aea7e12813 [WIP] Email authorization 2022-08-13 01:11:48 +03:00
Ali
a183d69534 Refactoring 2022-05-29 02:09:25 +04:00
Ali
ce36439bd2 Refactoring 2021-09-19 13:55:17 +03:00
Ali
1141e09c1b Refactoring 2021-09-07 13:09:06 +04:00
Ali
1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ali
4e53e050d1 Add missing errors 2021-07-09 01:15:29 +04:00
Ali
a2f0f5b1ce Password reset fixes 2021-07-06 03:27:53 +04:00
Ali
4893e41de2 Refactoring [skip ci] 2021-07-05 00:48:11 +04:00