23 lines
433 B
Markdown
23 lines
433 B
Markdown
# telegramapi
|
|
|
|
```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```
|