mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 03:41:14 +00:00
feat: add authorized-users key to config schema
This commit is contained in:
@@ -613,6 +613,14 @@
|
||||
"description": "Telegram topic ID - only applicable for group chats",
|
||||
"type": "string"
|
||||
},
|
||||
"authorized_users": {
|
||||
"description": "Authorized users for the bot.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"allow_custom_messages": {
|
||||
"description": "Allow sending custom messages from the Strategy.",
|
||||
"type": "boolean",
|
||||
|
||||
@@ -471,6 +471,12 @@ CONF_SCHEMA = {
|
||||
"description": "Telegram topic ID - only applicable for group chats",
|
||||
"type": "string",
|
||||
},
|
||||
"authorized_users": {
|
||||
"description": "Authorized users for the bot.",
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"uniqueItems": True,
|
||||
},
|
||||
"allow_custom_messages": {
|
||||
"description": "Allow sending custom messages from the Strategy.",
|
||||
"type": "boolean",
|
||||
|
||||
Reference in New Issue
Block a user