chore: configurations

This commit is contained in:
Junyan Qin
2025-02-14 13:12:49 +08:00
parent 2b6be04c5d
commit 3e4b85aeb5
9 changed files with 60 additions and 28 deletions

View File

@@ -86,6 +86,11 @@
"client_secret":"",
"robot_code":"",
"robot_name":""
},
{
"adapter":"telegram",
"enable": false,
"token":""
}
],
"track-function-calls": true,

View File

@@ -432,6 +432,26 @@
"description": "钉钉的robot_name"
}
}
},
{
"title": "Telegram 适配器",
"description": "用于接入 Telegram",
"properties": {
"adapter": {
"type": "string",
"const": "telegram"
},
"enable": {
"type": "boolean",
"default": false,
"description": "是否启用此适配器"
},
"token": {
"type": "string",
"default": "",
"description": "Telegram 的 token"
}
}
}
]
}