E
E
el-bekasto2021-02-19 13:07:00
API
el-bekasto, 2021-02-19 13:07:00

How to write a library in C#?

Greetings. There is a telethon library for python. Exactly the same library is severely lacking for the C# language. There is of course TLSharp, but it is extremely inconvenient and severely limited. So where do I start, what to google, what to learn to start writing my own library, how do I learn how to write code that interacts with the Telegram API, etc. Probably from my question it is clear that I am not quite experienced for such undertakings, but still, it is interesting to try

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
el-bekasto, 2021-02-20
@el-bekasto

Thank you all, I read it and found out that there is already an almost ready-made tool - TDLib from the Telegram developers themselves, already noted in one of the answers. I will try to work with it first, and if there is something to modify, finish, make it more convenient, maybe I will make a modification for it, making it better for others. Thank you all again

F
freeExec, 2021-02-19
@freeExec

Well, you say that there is something not convenient and limited. Here, take it as a basis and make it functional and convenient.

H
HemulGM, 2021-02-19
@HemulGM

There is official Telegram API documentation. All of these APIs work through simple HTTP GET/POST requests.

V
Vasily Bannikov, 2021-02-19
@vabka

TLSharp implements all methods for working with tdlib. It cannot have fewer features than telethon by definition.
If you don't like working with tdlib directly, write your own wrapper around TLSharp.

I'm not quite experienced for such undertakings

Then take the time to learn C# to understand how you can implement something similar to telethon.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question