tdsharp
tdsharp copied to clipboard
C#/.NET Core bindings for TDLib (Telegram MTProto API)
why so long?
I get chats in 62 seconds, why is it taking so long? 
Hello. I cloned the repo, ran TDLib.Samples.GetChats.csproj and found that memory consumption increases even without any application activity:  I tried to remove getting channels code from the sample -...
For now, we have two distinct namespaces: `TDLib.Bindings` and `TdLib.Bindings` for some reason. We should figure it out and try to switch to some single one from these two.
While discussing #167, we've found that there's an event `TdLib.Bindings.Receiver::ExceptionThrown` that is emitted when there's an error during the loop in `TdLib.Bindings.Receiver::ProcessEvents`. But this event is never exposed to the...
Currently, we use allow-list of types gathered as `typeof(Converter).Assembly.GetExportedTypes()`. We could do better by codegen or smth else that doesn't use runtime type discovery. Maybe we could even try the...
The proposed workaround in below issue ("wrapping method calls in await Task.Run(() => /* method call */") does not seem to work in every case. I'm facing the same issue...
The current architecture with all the classes being nested inside of the giant `public static partial class TdApi` is sound, but causes some problems: e.g. the IDEs have hard time...