tdlib

How to build tdlib

Official documentation

Do not forget install the library after:

make install

Also, you can use it with Docker:

You can call any method of tdlib with python-telegram using call_method:

tg = Telegram(...)
params = {'user_id': 1}
result = tg.call_method('getUser', params)