This repository has been archived on 2024-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
pykeyboard/examples
2020-09-06 21:10:20 +03:00
..
bot Delete start.py 2020-09-06 21:10:20 +03:00
LICENSE Add files via upload 2020-06-11 01:04:30 +03:00
README.md Add files via upload 2020-06-11 01:11:09 +03:00

Example: Telegram Pyrogram bot

Bot launch

cd examples
python -m bot

Bot settings

SESSION_NAME = 'bot'
API_ID = ''  # https://my.telegram.org/
API_HASH = ''  # https://my.telegram.org/
BOT_TOKEN = ''  # @BotFather
APP_PLUGINS = 'bot/modules'