TLSharp
TLSharp copied to clipboard
Telegram client library implemented in C#
I got this error and worked on it about 10 Hours. I fixed problem by capturing IP address of DC4 and change server IP to it.  `System.Net.Sockets.TcpClient GetClientTcp(string a,...
The [documentation](https://core.telegram.org/api/updates) says: > Update events are sent to an authorized user into the last active connection (except for connections needed for downloading / uploading files). > > So to...
Hi, I'm trying to use TLSharp to utilize this api method: help.deepLinkInfo (https://core.telegram.org/constructor/help.deepLinkInfo) I can't see anything ready for this purpose in the library, so I wrote my classes: TLDeepLinkInfo...
Got my AppId and my AppHash. When trying to create instance of TelegramClient, get exception: An invalid IP address was specified. I didn't specify any in fact but the quick-start...
public async static void Init() { var client = new TelegramClient(123456, "aaabbbbbbccccccc"); await client.ConnectAsync(); } Error:Unable to write data to the transport connection: The remote host forced closure of an...
I wrote a program using your library, but each time it runs it needs to perform the sequence 1.telegramClient = new TelegramClient(m_pApiId, m_pApiHASH); 2.telegramClient.ConnectAsync(reconnect); 3.telegramClient.SendCodeRequestAsync(phone); 4.telegramClient.MakeAuthAsync(m_pPhone, m_pHash, m_pCode); I got...
**When I get all of the group members, I can only get 10004 at most. Why is that?** ```C# string gruopName = "PornHub"; var client = NewClient(); await client.ConnectAsync(); var...
这个问题只有国内有,国内开发资料太少了,求各路大侠来抱团:邱邱260452225
Hello. I'm writing simple app that connects to the telegram server and requests members count of channel and do some other stuff. I want the application to work constantly and...
Hello. I have a code for joining the group, and its final part looks like this. `var Respons = await client.SendRequestAsync(Request);` I need to find out if the account has...