Add files via upload
This commit is contained in:
parent
4c38456016
commit
4d5e3260d3
@ -1 +1,19 @@
|
|||||||
# Example: Telegram Pyrogram bot
|
# Example: Telegram Pyrogram bot
|
||||||
|
|
||||||
|
## Bot launch
|
||||||
|
|
||||||
|
```shell
|
||||||
|
cd examples
|
||||||
|
python -m bot
|
||||||
|
```
|
||||||
|
|
||||||
|
## Bot settings
|
||||||
|
|
||||||
|
```python
|
||||||
|
SESSION_NAME = 'bot'
|
||||||
|
API_ID = '' # https://my.telegram.org/
|
||||||
|
API_HASH = '' # https://my.telegram.org/
|
||||||
|
BOT_TOKEN = '' # @BotFather
|
||||||
|
APP_PLUGINS = 'bot/modules'
|
||||||
|
|
||||||
|
```
|
Reference in New Issue
Block a user