From e99d4dc9a357992b6b7f410c796a064bb728032e Mon Sep 17 00:00:00 2001 From: Jimmy Date: Tue, 6 Jul 2021 22:40:36 +1200 Subject: [PATCH] Update readme --- README.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a66680e..5907d47 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,34 @@ -# telegramapi +# 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 https://telegram.org/ +## Setup Bot Search users for ```BotFather``` -Click start Type ```/newbot``` and follow the prompts -Take the token under ```Use this token to access the HTTP API:``` and put it into config.json +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 you id in config.json -Run +Put your id in config.json + + +## Run + ```pipenv run prod```