Added ability to set a webhook proxy for telegram requests

Fixed issue where config changes were broadcast before they were written
This commit is contained in:
Tzahi12345
2023-11-30 00:28:28 -05:00
parent 91c2fdc701
commit 8f246d905f
5 changed files with 18 additions and 6 deletions

View File

@@ -154,6 +154,10 @@ exports.CONFIG_ITEMS = {
'key': 'ytdl_telegram_chat_id',
'path': 'YoutubeDLMaterial.API.telegram_chat_id'
},
'ytdl_telegram_webhook_proxy': {
'key': 'ytdl_telegram_webhook_proxy',
'path': 'YoutubeDLMaterial.API.telegram_webhook_proxy'
},
'ytdl_webhook_url': {
'key': 'ytdl_webhook_url',
'path': 'YoutubeDLMaterial.API.webhook_URL'