{"repo":"alexander-akhmetov/python-telegram","free":true,"listed":false,"github":"https://github.com/alexander-akhmetov/python-telegram","clone":"git clone https://github.com/alexander-akhmetov/python-telegram.git","description":"Python client for the Telegram's tdlib","language":"Python","stars":718,"topics":["python","telegram","tdlib","tdlib-python","telegram-bot","telegram-api","telegram-bots","telegram-bot-api","telegram-cli","python-telegram"],"license":"MIT","category":"chat-messaging","readme_excerpt":"python-telegram Python API for the tdlib library. It helps you build your own Telegram clients. tdlib connects to Telegram over MTProto, the same protocol the official apps use. This library signs in as a full Telegram account with a phone number, and it can do what a regular client can do. It is not a wrapper around the HTTP Bot API. If you only need a bot, python-telegram-bot is a better fit. You can still sign in as a bot here by passing bot token instead of phone . - Changelog - Documentation - Tutorial Installation This library requires Python 3.10+ and Linux or MacOS. Windows is not supported. See documentation for more details. tdlib python-telegram comes with a precompiled tdlib library for Linux and MacOS. But it is highly recommended to compile it yourself. The precompiled library may not work on some systems, it is dynamically linked and requires specific versions of additional libraries. If you installed tdlib system-wide, python-telegram finds it automatically. Otherwise, pass the path to the compiled library. The file is called libtdjson.so on Linux and libtdjson.dylib on MacOS: Docker This library has a docker image: How to use the library First, register a new Telegram application to get your api id and api hash . Check out the tutorial for more details. Basic example: You can also use call method to call any tdlib method: More examples can be found in the /examples/ directory. --- More information is available in the documentation. Development See CONTRIBUTIN","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexander-akhmetov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexander-akhmetov/python-telegram/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}