tdlib Python
You can call any method of tdlib with python-telegram using call_method:
make install
tg = Telegram(...)
params = {'user_id': 1}
result = tg.call_method('getUser', params)
Imaginathan