298 B
298 B
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'