mirror of
https://github.com/paul-nameless/tg
synced 2024-11-24 21:03:06 +00:00
No description
3d55cb1e5d
fix chat duplicates when small number of messages |
||
---|---|---|
tg | ||
.gitignore | ||
pyproject.toml | ||
README.md | ||
UNLICENSE |
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
andAPI_HASH
is keys from telegramPHONE
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
Links
Usefull links to help develop this project.