tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

[Not a Bug] Are there any good mtproto docs to read for novice programmers? #2476

Closed afyacnkep closed 1 year ago

afyacnkep commented 1 year ago

I am currently building a telegram app using the tdlib but the size is very large because of the tdlib, can someone provide clearer docs?

I've read the official docs I don't understand,

I've been looking for stack overflow, but it's using the vb.net/php programming language.

I just can't decode and encode data in dart language,

Can someone shed some light on decode and encode mtproto data?

levlam commented 1 year ago

The official documentation is pretty straightforward and contains some very basic examples. You can also check TDLib's MTProto implementation at https://github.com/tdlib/td/tree/master/td/mtproto.

But you should be aware that MTProto implemenation is less than 5% of what TDLib does to ensure reliability and data consistency. Manual MTProto implementation can be done within a month or two, but it will be the least of the problems for writing a reliable Telegram app.