Commit graph

202 commits

Author SHA1 Message Date
Wizou cf1c29e9ef Little better fix for #233 2024-02-21 02:11:16 +01:00
Wizou 1c298bfa83 Fix #233: "server_address" can hint the dcId in order to reuse existing AuthKey on last-ditch reconnection 2024-02-19 17:08:26 +01:00
Wizou 6a1114ccd5 ConnectAsync can be used for quickResume of sessions (experimental) 2024-02-18 22:50:42 +01:00
Wizou 125c1caeeb Alternate simpler byte[] callback session store 2024-02-18 17:41:30 +01:00
Wizou 48a1322452 Fix #225: RpcError INPUT_METHOD_INVALID_3105996036 when using client.DisableUpdates() 2024-01-15 14:45:58 +01:00
Wizou 2d7a64fc2d API Layer 169 (https://corefork.telegram.org/api/layers): Channel appearance, giveaway prize/winners, premium gift payments, stories reposts, bot reactions and more... (https://t.me/tginfoen/1804) 2023-12-23 20:39:48 +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 b6c98658db OnOwnUpdate handler can be used to intercept Updates replies to your API calls 2023-11-30 16:06:37 +01:00
Wizou 5febd2d27b Abort pending requests on Dispose
(I thought it was already the case!?)
2023-11-29 15:16:35 +01:00
Wizou 3861255710 Support additional connection JSON params with Config("init_params") 2023-11-11 12:25:02 +01:00
Wizou 8a9f886b62 Fix Naming Styles 2023-07-08 01:34:31 +02:00
Wizou c631072ae4 Prevent "recursive" MsgContainer 2023-07-06 10:17:29 +02:00
Wizou 472b10f155 Fix unencrypted padding length in Padded Intermediate
(official doc says 0..15 bytes, but server & Android app sends 0..256 bytes)
2023-07-05 05:03:08 +02:00
Wizou d1e583cc86 Prevent "You must connect to Telegram first" during network loss
(closes #157)
2023-05-18 21:50:19 +02:00
Wizou 131fd36106 Fix ReactorError not correctly raised. Added Program_ReactorError example 2023-05-17 18:26:53 +02:00
Wizou 30618cb316 Implement Future Salts mecanism to prevent replay attacks 2023-05-02 22:49:38 +02:00
Wizou 753ac12eb1 OnUpdate is now only for updates. OnOther is used for other notifications 2023-05-01 18:21:03 +02:00
Wizou 9af6404eff Now throwing WTException. Class hierarchy is TL.RpcException : WTelegram.WTException : ApplicationException 2023-04-02 13:44:23 +02:00
Wizou b63829393e Don't raise ReactorError for alt DCs 2023-03-09 22:32:57 +01:00
Wizou 86796ebf0c Correctly dispose session store on ctor exception (#128) 2023-02-26 17:09:45 +01:00
Wizou 7948dbd8e3 Remove deprecated CollectAccessHash system 2023-02-14 11:14:17 +01:00
Wizou b5d7ef311d Small change to support Firebase SMS 2023-02-13 11:29:02 +01:00
Wizou bf7207fa7d Support for Firebase SMS 2023-02-05 15:43:49 +01:00
Wizou f86291117f API Layer 152: emoji pfp, autosave medias, auto-translations, media permissions, Firebase... 2023-02-04 10:36:19 +01:00
Wizou 231bf632e2 Custom emoji Markdown/Html syntax updated for tdlib compatibility
- Markdown: ![x](tg://emoji?id=...)
- Html: <tg-emoji emoji-id="...">
Previous syntaxes are still accepted
Also, changed Github examples links with ts=4
2022-12-05 20:32:32 +01:00
Wizou 42be950896 Alt DC disconnection logged as simple warning 2022-12-02 01:42:39 +01:00
Wizou 2047154d26 doc 2022-11-15 16:20:00 +01:00
Wizou 61510465d2 Fix immediate crash 🤦🏻‍♂️ 2022-11-13 00:25:56 +01:00
Wizou 8fa00a8cc6 Support for bare methods in session 2022-11-08 17:06:16 +01:00
Wizou b902b33558 updated docs (and reordered Examples.md) 2022-11-01 18:44:01 +01:00
Wizou b9587e3997 Added SecretChats.DownloadFile and media.MimeType to simplify download & decryption 2022-10-20 23:12:43 +02:00
Wizou 2e84061b4d Login: warning on phone_number mismatch 2022-10-13 10:07:46 +02:00
Wizou 88d54eb5a6 make SendAlbumAsync accept list too 2022-10-12 23:25:15 +02:00
Wizou fdc05e5514 Login failed: CancelCode but don't make things worse 2022-10-10 21:55:56 +02:00
Wizou e4b2cdd2c1 Fix ReactorError during InvokeBare 2022-10-08 15:06:36 +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 f3f1b37b85 _saltChangeCounter is now in seconds 2022-09-24 15:34:31 +02:00
Wizou 280bc3c411 Alternative/simplified constructor & login method 2022-09-20 17:30:32 +02:00
Wizou 9523ca4036 Support premium emojies in Html/Markdown helpers 2022-09-19 22:28:12 +02:00
Wizou 1ed10d99af Support for login email registration (still experimental) 2022-09-14 18:29:07 +02:00
Wizou 11a9ca8631 more 'params' arguments 2022-09-14 18:22:52 +02:00
Wizou b1649839d9 Support multiple Test DC connections 2022-09-11 15:34:38 +02:00
Wizou 222d24c9a6 updated Intellisense / doc 2022-09-02 23:02:44 +02:00
Wizou 983c9a4c6b Safety check on bareRpc <-> unencrypted 2022-08-30 15:15:43 +02:00
Wizou ace31a3213 Reset _bareRpc too 2022-08-29 02:37:30 +02:00
Wizou 97bd76cf0f Minor code cleaning 2022-08-13 01:20:53 +02:00
Wizou f1448ac517 minor documentation update 2022-08-12 21:19:10 +02:00
Wizou 46c3cf3d9a Fix crash on null OnUpdate 2022-08-06 13:06:46 +02:00
Wizou 3e1506d0a7 Throw exception if calling API without connecting first. 2022-08-01 19:06:31 +02:00