Jimmy e99d4dc9a3 | ||
---|---|---|
.gitignore | ||
LICENSE | ||
Pipfile | ||
Pipfile.lock | ||
README.md | ||
config.json.sample | ||
main.py |
README.md
Telegram Python Example
This is desinged for MicroPython but will work on a desktop
It'll echo what you send to it
Setup
pipenv sync
cp config.json.sample config.json
Create a Telegram account if you don't have one
Setup Bot
Search users for BotFather
Type /newbot
and follow the prompts
Take the token under Use this token to access the HTTP API:
and put it into config.json
Get User Id
Search users for userinfobot @userinfobot
Put your id in config.json
Run
pipenv run prod