tdsharp icon indicating copy to clipboard operation
tdsharp copied to clipboard

C#/.NET Core bindings for TDLib (Telegram MTProto API)

Results 7 tdsharp issues
Sort by recently updated
recently updated
newest added

I get chats in 62 seconds, why is it taking so long? ![image](https://user-images.githubusercontent.com/100075945/161441181-43282114-7518-4cb0-a47c-6ffbd959d801.png)

question

Hello. I cloned the repo, ran TDLib.Samples.GetChats.csproj and found that memory consumption increases even without any application activity: ![image](https://user-images.githubusercontent.com/18308379/157884697-237296e5-84af-40ae-b1bb-1649f3f4bcb1.png) I tried to remove getting channels code from the sample -...

question

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.

bug

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...

enhancement
help wanted

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...

enhancement
help wanted

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...

bug
help wanted

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...

enhancement
help wanted