TgSharp
TgSharp copied to clipboard
Telegram client library implemented in C#
Recently CI has been extremely buggy and unreliable, during extensive testing TCP Transport is identified as the culprit. Errors like > System.InvalidOperationException : Couldn't read the packet length (was 0,...
Exists models on decompiled code TLChannelParticipant, TLChatParticipants but dont exist TLMethods for taking this models. Maybe exists some guide to generate this methods?
after full year of writing my program code by TLSharp library now my all porject gos to trash? i cant just try another librery cuz it will need new full...
Hello everyone, as Title said I am getting DataCenterMigrationException after downloading any File or Photo here is my code for downloading Photo: ` var photo = (((TLMessageMediaPhoto)((TLMessage)message).Media).Photo as TLPhoto); //...
I have error When i use SendCodeRequest method to SignUpNewUser 
Hello everyone I did not found MakeAuthWithPasswordAsync method I cant login 2fa without AuthPassword Did you change it or move it to another class that I can't find? i tried...
This is the exception thrown when calling ```SendCodeRequestAsync``` It is because Telegram forced all clients to use 64 bit identifier. Yet there is no such good library for c# as...
If you need a .NET library for Telegram Client API which is - updated (latest layer) - safer (MTProto v2, many security checks) - complete (support for updates, multi-DC connections)...
Once client connected to other DC it can not proceed work: 1 SendRequestAsync() calls RequestWithDcMigration() 2 it gets DataCenterMigrationException() 3 and calls ReconnectToDcAsync() 4 ReconnectToDcAsync() calls SendRequestAsync< TLExportedAuthorization > i.e....
I have a problem. If, when trying to send a request `TLRequestGetUserPhotos`, the user's photo is located on another DC, the library will migrate the user to the required DC....