No description
Find a file
Nameless 7f1349d57e
Merge pull request #24 from paul-nameless/suspend-refresh
Fix curses draws over terminal when suspended
2020-05-09 18:48:36 +08:00
.github/workflows Black formatting update 2020-05-04 15:24:40 +08:00
tg Merge pull request #24 from paul-nameless/suspend-refresh 2020-05-09 18:48:36 +08:00
.gitignore correctly handle situation when there are chats with all deleted msgs 2020-05-03 21:44:54 +03:00
pyproject.toml Format with black 2020-05-04 15:01:24 +08:00
README.md Add download and open files support 2020-05-06 15:33:12 +08:00
UNLICENSE Reorganize structure of the project 2019-02-20 19:15:43 +01:00

tg

Console telegram client.

(!) currently in development

Usage

Clone repository. Run this command.

docker run -i -t --rm \
    -v /tmp/docker-python-telegram/:/tmp/ \
    -e API_ID=[id]
    -e API_HASH=[hash]
    -e PHONE=[phone] \
    -e PYTHONPATH=/app -v $PWD:/app \
    akhmetov/python-telegram python3 /app/tg/main.py

Where:

  • APP_ID and API_HASH is keys from telegram
  • PHONE your phone number (or login)

If you don't want to run it using docker, install tdlib and python-telegram

For example, macOS:

brew install tdlib
pip3 install python-telegram

Usefull links to help develop this project.