From 4d5e3260d3accac158ee5dcb482cf2779937ccaf Mon Sep 17 00:00:00 2001 From: PyMaster <59120866+pystorage@users.noreply.github.com> Date: Thu, 11 Jun 2020 01:11:09 +0300 Subject: [PATCH] Add files via upload --- examples/README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/examples/README.md b/examples/README.md index 1c55c04..bab1f2d 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1 +1,19 @@ -# Example: Telegram Pyrogram bot \ No newline at end of file +# 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' + +``` \ No newline at end of file