mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +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",
|
"description": "Telegram topic ID - only applicable for group chats",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"authorized_users": {
|
||||||
|
"description": "Authorized users for the bot.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
"allow_custom_messages": {
|
"allow_custom_messages": {
|
||||||
"description": "Allow sending custom messages from the Strategy.",
|
"description": "Allow sending custom messages from the Strategy.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@@ -471,6 +471,12 @@ CONF_SCHEMA = {
|
|||||||
"description": "Telegram topic ID - only applicable for group chats",
|
"description": "Telegram topic ID - only applicable for group chats",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
},
|
},
|
||||||
|
"authorized_users": {
|
||||||
|
"description": "Authorized users for the bot.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {"type": "string"},
|
||||||
|
"uniqueItems": True,
|
||||||
|
},
|
||||||
"allow_custom_messages": {
|
"allow_custom_messages": {
|
||||||
"description": "Allow sending custom messages from the Strategy.",
|
"description": "Allow sending custom messages from the Strategy.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
Reference in New Issue
Block a user