From 0663335011fc46c4b5d6e75da240c3a852b73303 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 23 Dec 2024 20:12:21 +0100 Subject: [PATCH] chore: update config_schema with topic_id attribute --- build_helpers/schema.json | 6 +++++- freqtrade/configuration/config_schema.py | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/build_helpers/schema.json b/build_helpers/schema.json index 73c06ba46..5c9844975 100644 --- a/build_helpers/schema.json +++ b/build_helpers/schema.json @@ -601,7 +601,11 @@ "type": "string" }, "chat_id": { - "description": "Telegram chat ID", + "description": "Telegram chat or group ID", + "type": "string" + }, + "topic_id": { + "description": "Telegram topic ID - only applicable for group chats", "type": "string" }, "allow_custom_messages": { diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index d31069e7b..9af3f0950 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -460,7 +460,11 @@ CONF_SCHEMA = { }, "token": {"description": "Telegram bot token.", "type": "string"}, "chat_id": { - "description": "Telegram chat ID", + "description": "Telegram chat or group ID", + "type": "string", + }, + "topic_id": { + "description": "Telegram topic ID - only applicable for group chats", "type": "string", }, "allow_custom_messages": {