Added usage example of errors_handler
Optimized generation of default/inline keyboard Customizing webhook path has become more flexible Updated aiogram version to 2.7 (BotAPI 4.7)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
BOT_TOKEN = ''
|
||||
WEBHOOK_URL = ''
|
||||
BASE_URL = 'https://example.com' # Webhook domain
|
||||
WEBHOOK_PATH = f'/webhook/bot/{BOT_TOKEN}'
|
||||
WEBHOOK_URL = f'{BASE_URL}{WEBHOOK_PATH}'
|
||||
|
||||
admins = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user