TLSharp
TLSharp copied to clipboard
Telegram client library implemented in C#
I try use it with .Net Framework 4.5.0? but min version of platform it .Net FrameWork 4.6.1 
anybody have solution? how i can get messageid from this code? `await Client.SendMessageAsync(new TLInputPeerUser() { UserId = userid, AccessHash = AccessHash }, "Test");`
I wrote this cod but didn't work , var client = NewClient(); await client.ConnectAsync(); var phoneContact = new TLInputPhoneContact() { Phone = _phone,FirstName = _first_name, LastName = _last_name }; var...
I'm importing contacts using the ImportContactsAsync funciton, for example:  I want to get the first&last name, and username of my contacts, 'client.GetContactsAsync' function doesn't help in that case, The...
Hello, can I show an example of how to connect using a proxy?
`'Telegram server replied requesting a migration to DataCenter 2 when this connection was already using this DataCenter' at TLSharp.Core.TelegramClient.d__13.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at...
I got a TLMessage with animated sticker (tgs), but type of the media is TeleSharp.TL.TLMessageMediaUnsupported. Do you plan to support animated stickers?
How to ban a user in supergroup?
trying to connect and work via proxy. my code looks like this ` private void Connect(string address, int port, bool useProxy) { if (!useProxy) { _tcpClient = new TcpClient(); var...