TLSharp icon indicating copy to clipboard operation
TLSharp copied to clipboard

Telegram client library implemented in C#

Results 100 TLSharp issues
Sort by recently updated
recently updated
newest added

I try use it with .Net Framework 4.5.0? but min version of platform it .Net FrameWork 4.6.1 ![image](https://user-images.githubusercontent.com/29205560/87155678-0d418e00-c2c4-11ea-9427-135d543642d2.png)

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: ![image](https://user-images.githubusercontent.com/67233322/85228144-564fa200-b3ea-11ea-9fb8-b2ae5840c812.png) 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...