2021-05-29 08:53:09 +00:00
|
|
|
# telegramapi
|
|
|
|
|
2021-07-06 10:30:51 +00:00
|
|
|
```pipenv sync```
|
|
|
|
|
|
|
|
```cp config.json.sample config.json```
|
|
|
|
|
|
|
|
Create a Telegram account if you don't have one
|
|
|
|
|
|
|
|
https://telegram.org/
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Search users for ```userinfobot @userinfobot```
|
|
|
|
Put you id in config.json
|
|
|
|
|
|
|
|
Run
|
|
|
|
```pipenv run prod```
|