Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.61 KB

File metadata and controls

31 lines (23 loc) · 1.61 KB

TLAPI

Static Badge Static Badge Static Badge

A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs. Read the documentation.

Features

  • [tlapi] - add random app version
  • [tlapi] - add new Api ID - Api Hash
  • [opentele] - Convert Telegram Desktop tdata sessions to telethon sessions and vice versa.
  • [opentele] - Use telethon with official APIs to avoid bot detection.
  • [opentele] - Randomize device info using real data that recognized by Telegram server.

Dependencies

  • telethon - Widely used Telegram's API library for Python.
  • tgcrypto - AES-256-IGE encryption to works with tdata.
  • pyQt5 - Used by Telegram Desktop to streams data from files.

Installation

  • Install from PyPI:
pip install --upgrade tlapi

Examples

The best way to learn anything is by looking at the examples. Am I right?