The Telegram Database Library (TDLib) takes care of all network implementation details, encryption and local data storage, so that developers can dedicate more time to design, responsive interfaces and beautiful animations.
Unlike bot API, TDLib doesn't have limitationsCons:
TDLib isn't simple and requires a good understanding of Telegram
TDLib a powerful library that allows building any type of app for Telegram. I use it to run Telepost (https://www.producthunt.com/posts/telepost). TDLib is a fully functioning Telegram client that you can run in the cloud. I've connected its events via Google Pub/Sub to Google Cloud Functions, and it costs me pennies to run a service that processes hundreds of channels in real time.Sasha Koss has used this product for one year.