Commit graph

212 commits

Author SHA1 Message Date
Wizou f289b9e2e5 Correctly handle RPC Error for methods returning bool.
Also don't hang CallAsync on ReadRpcResult deserializing error
2021-12-07 16:35:23 +01:00
Wizou 95d9135bd0 Configurable PingInterval to support slow connections 2021-12-07 15:26:53 +01:00
Wizou f6eb1aa6fd fix never-ending loop in Channels_GetAllParticipants 2021-12-07 15:07:35 +01:00
Wizou 73ac9384e4 config.yml for issue_template 2021-12-07 03:36:28 +01:00
Wizou 1812908d5b config.yml for issue_template 2021-12-07 03:31:18 +01:00
Wizou 4195876b8f docs: more anchors 2021-12-07 02:32:19 +01:00
Wizou d0c783ec23 FAQ update 2021-12-07 02:06:24 +01:00
Wizou 0351ad027f added Channels_GetAllParticipants helper 2021-12-07 00:34:57 +01:00
Wizou d22628918c Rewrote the FAQ about access_hash 2021-12-06 18:05:12 +01:00
Wizou 934ee9bae4 GUI compatibility: Detach interactive Config calls from MainThread 2021-12-05 11:47:52 +01:00
Wizou 409cf25619 Fix 444 trying to download from a media_only DC with unnegociated AuthKey 2021-12-05 07:21:30 +01:00
Wizou e1132f653b Handle BadMsgNotification 32/33 by renewing session 2021-12-04 00:14:15 +01:00
Wizou bafe3c56bd make example programs static 2021-12-03 10:16:01 +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 12ea8ac1bb released 1.7.3 2021-11-27 03:29:19 +01:00
Wizou 8bfdedae1f Upgrade to layer 135 2021-11-27 03:03:04 +01:00
Wizou ff796775eb some more helpers 2021-11-27 02:57:50 +01:00
Wizou e7b9ea93cd Upgrade to layer 135 2021-11-27 02:56:42 +01:00
Wizou 934895a81c Gracefully handle a disconnection from an idle secondary DC
(don't reconnect)
2021-11-21 00:43:39 +01:00
Wizou e8a98a5799 FAQ: added "How to not get banned" 2021-11-20 12:54:49 +01:00
Wizou 7fdd05a714 new FAQ 2021-11-15 17:17:11 +01:00
Wizou 27ab343ad0 Added Example for Help_GetAppConfig / sending Dice 2021-11-14 15:35:41 +01:00
Wizou f901319ca4 simplified Help_GetAppConfig access to Json values 2021-11-13 15:09:28 +01:00
Wizou 7ed21d5af4 FloodRetryThreshold, ProgressCallback, don't call Updates_GetState on alt DCs upon reconnection 2021-11-12 20:50:39 +01:00
Wizou c0b10e82f4 small update to ReadMe 2021-11-12 06:10:26 +01:00
Wizou c157fba5e4 Move TL methods in Extensions class and TL.Methods namespace. Remove partial modifiers when possible 2021-11-10 17:26:40 +01:00
Wizou 30f20fad0e [rollback] Use records for TL methods
It was a nice idea and it worked but it made the lib 3x larger just for sugar syntax in generated code
2021-11-10 02:17:08 +01:00
Wizou 9e4d67ed86 Use records for TL methods 2021-11-10 01:20:54 +01:00
Wizou 2b95b235f3 Added IPeerResolver 2021-11-09 23:23:16 +01:00
Wizou d557b4fc91 inheritAfter => inheritBefore (improved perf) 2021-11-09 15:01:59 +01:00
Wizou f0ae44c088 More helpers that simplify the handling of Updates 2021-11-09 03:00:03 +01:00
Wizou 382e78cccc Added some helpers. SendMessage/Media return the transmitted Message. Fixed minor issues 2021-11-09 01:43:27 +01:00
Wizou dbcb6814ff renamed ITLObject to IObject 2021-11-07 16:52:58 +01:00
Wizou fd9ec2eaed Get rid of ITLFunction lambda writer and use declared ITLMethod<Ret> classes instead 2021-11-07 16:50:59 +01:00
Wizou d0be053707 We don't need to store full User in session file anymore 2021-11-07 09:09:15 +01:00
Wizou a06be4e096 fix ReadMe for nuget.org 2021-11-06 05:52:44 +01:00
Wizou 14e2437097 Add xmldoc for all public members 2021-11-06 05:22:33 +01:00
Wizou cf2072e830 add eventual [deactivated] in Chat.ToString 2021-11-05 04:37:21 +01:00
Wizou b872e58e28 use Users_GetUsers instead of Updates_GetState in login so we update our User info 2021-11-04 20:10:44 +01:00
Wizou 42348166f0 reorder csproj properties 2021-11-04 03:28:01 +01:00
Wizou 4418f562cb Log precise version of lib 2021-11-04 03:10:03 +01:00
Wizou ec6fb6c0c0 Try to use .NET 6.0 RC2 SDK and embed README.md in nuget package 2021-11-04 02:41:04 +01:00
Wizou 248b7d7f5a renamed TL.Helpers.cs to match namespace 2021-11-04 02:21:12 +01:00
Wizou 3bd1f1bb22 Moved "Possible error codes" to <summary> as they are not displayed correctly with <exception> under VS 2019 2021-11-04 02:09:20 +01:00
Wizou e7637011e1 xmldoc for RpcException possible errors and missing type descriptions 2021-11-03 18:20:54 +01:00
Wizou a197573258 Complete XML documentation of the Telegram API ! 2021-11-03 03:53:48 +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 ba72e67c56 update layer version 2021-10-31 18:37:17 +01:00