Pure Python 3 MTProto API Telegram client library, for bots too!
-
Updated
Sep 4, 2020 - Python
Telegram is a non-profit, cloud-based instant messaging service. It offers open source clients for a multitude of operating systems and powerful APIs that allow developers to create their own clients and chat bots.
In the TDLIB update event, there is only the 'sender_user_id' field and no other user identification. Currently, there is no way to get first and last names using python-telegram.
As far as I know, to get that information the client should use getUserFullInfo() method. Please, add it.
It’s been a while but telegram now sends the user locale as part of the message. I always thought of doing this but thought it would not be useful... until I started receiving comments from admins from foreign groups in which users might have trouble with the default language of GB (English).