Commit graph

54 commits

Author SHA1 Message Date
Wizou 6d238dc528 Store less stuff in session data and reduce save frequency for better performance. 2025-04-06 19:48:43 +02:00
Wizou e2323092dc net8.0 target, compatible with AOT 2024-03-26 12:07:03 +01:00
Wizou 9fe1196606 Mark most classes as sealed & partial 2024-03-26 02:30:16 +01:00
Wizou 1d00dc2f9b minor change 2024-03-19 11:48:45 +01:00
Wizou 8eb5b29d97 using primary constructors, and more [] syntax 2024-03-08 12:07:37 +01:00
Wizou b5ca3fcc0e Fix SendAlbumAsync videoUrlAsFile. using [] syntax 2024-03-08 11:52:30 +01:00
Wizou e6fa972295 Fix #216: The old salt should be accepted for a further 1800 seconds 2023-12-18 00:01:07 +01:00
Wizou 8a9f886b62 Fix Naming Styles 2023-07-08 01:34:31 +02:00
Wizou 9af6404eff Now throwing WTException. Class hierarchy is TL.RpcException : WTelegram.WTException : ApplicationException 2023-04-02 13:44:23 +02:00
Wizou 7948dbd8e3 Remove deprecated CollectAccessHash system 2023-02-14 11:14:17 +01:00
Wizou e7ec282ac1 Signal wrong use of some params[] methods 2022-12-12 10:07:31 +01:00
Wizou a038be87af Improved Secret Chats:
Support layer 144 : big documents, silent
(layer not yet supported by other clients)
List of ISecretChat with detailed properties
Fix PFS issue losing a message...
2022-11-11 00:33:29 +01:00
Wizou d64c5c0c1e closes #103: files incorrectly padded to nearest 16 bytes 2022-10-26 17:33:06 +02:00
Wizou b9587e3997 Added SecretChats.DownloadFile and media.MimeType to simplify download & decryption 2022-10-20 23:12:43 +02:00
Wizou e4b2cdd2c1 Fix ReactorError during InvokeBare 2022-10-08 15:06:36 +02:00
Wizou e51ea2441e DownloadFileAsync support for !CanSeek streams (like AES_IGE_Stream) 2022-10-07 11:24:08 +02:00
Wizou f22990cb58 Support for Encrypted Files/Medias 2022-10-07 03:00:57 +02:00
Wizou 79097cdf8d some more optimizations 2022-10-04 00:52:44 +02:00
Wizou a45cd0f44e various optimizations 2022-10-01 13:56:43 +02:00
Wizou b1649839d9 Support multiple Test DC connections 2022-09-11 15:34:38 +02:00
Wizou 97bd76cf0f Minor code cleaning 2022-08-13 01:20:53 +02:00
Wizou f620514759 fix issue with MTProxy and media dc_id 2022-06-19 18:08:19 +02:00
Wizou a8d2dfcfa1 Improve security by preventing replay attacks 2022-05-19 01:32:22 +02:00
Wizou 7570732a3f call CollectField only if CollectAccessHash 2022-02-11 18:05:12 +01:00
Wizou 3fe9002f2e Remove OLDKEY/MTPROTO1 code 2022-02-11 02:43:48 +01:00
Wizou 6bdb0b9cc7 reduce allocations for encryption 2022-01-07 01:14:16 +01:00
Wizou 28f099ed1e Transport obfuscation and MTProxy support 2022-01-03 18:15:32 +01:00
Wizou 024c5ba705 More helpers to generically manage Chats & Channels 2021-12-31 08:38:41 +01:00
Wizou 1396eebca1 Provide computation for new 2FA passwords 2021-12-22 18:25:38 +01:00
Wizou 934ee9bae4 GUI compatibility: Detach interactive Config calls from MainThread 2021-12-05 11:47:52 +01:00
Wizou 65a4b779c1 later rejoin for background 2FA ValidityChecks 2021-12-01 16:24:30 +01:00
Wizou 5e04a51e54 Fix 2FA issue under .NET Fw 4.7.2
minor doc updates
2021-12-01 15:50:35 +01:00
Wizou dbcb6814ff renamed ITLObject to IObject 2021-11-07 16:52:58 +01:00
Wizou 3ad36f3e56 Fix BadMsgNotification 17 for PC with not precise system clock
Add logging examples
2021-11-02 01:47:14 +01:00
Wizou 2c99e21234 add some debug logging 2021-11-01 15:44:40 +01:00
Wizou e615f83db6 added MarkdownToEntities 2021-10-31 02:40:10 +01:00
Wizou f5b108dc9b Fix compatibility issues with .NET Fw 4.7 2021-10-17 23:35:14 +02:00
Wizou d4c373d95f Nullable ctor: Empty classes are now converted into/from a null value. This simplifies the hierarchy 2021-09-30 03:40:08 +02:00
Wizou 52fb2a7831 Fix SHA corruption due to concurrent use of static instance 2021-09-29 04:38:39 +02:00
Wizou da5098e8d5 MULTIPLE-CONNECTION! First version that implement parallel active connections to DCs (through Client instances dependent of the main Client instance)
Also improved on:
- reconnection/retry/resent strategy
- start of multiple parallel downloads triggering a new DC connection
2021-09-28 16:12:20 +02:00
Wizou 35786ef02a Support multi-DC sessions 2021-09-23 09:27:52 +02:00
Wizou fe7bc6f61c Optimized reactor frame handling 2021-09-23 05:37:00 +02:00
Wizou 832e2143f5 Fix issue with SHA computation under .NET Framework 2021-09-02 00:00:54 +02:00
Wizou 67285c1c08 Remember the good primes to prevent verifying them twice 2021-09-01 23:03:04 +02:00
Wizou 4174b21a83 Experimental collection of id/access_hash pairs 2021-08-30 01:31:08 +02:00
Wizou f2a1dbc20d Implement Telegram protocol safety checks 2021-08-20 02:13:58 +02:00
Wizou e205244cf7 Implement RSA_PAD algo for new public keys 2021-08-19 09:28:56 +02:00
Wizou 6f77e828db Added new package logo from @MrVeil303 (resized 128x128 as recommended by Nuget) 2021-08-18 00:12:33 +02:00
Wizou 866c562d81 Add compatibility with .NET Standard 2.0 (multi-target) 2021-08-16 22:30:45 +02:00
Wizou 21caecd164 MTProto 2.0 2021-08-10 14:40:41 +02:00