From 3638d25f6a3a4dd893e7cff6cbf482b0c26f0b6d Mon Sep 17 00:00:00 2001 From: DrDonoso <34934002+DrDonoso@users.noreply.github.com> Date: Thu, 16 Jan 2025 13:03:42 +0100 Subject: [PATCH] Add message_thread_id to telegram_text and telegram_command events (#130738) Co-authored-by: Joost Lekkerkerker --- homeassistant/components/telegram_bot/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 4fdb87f9fa6..f744265e1c2 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -1128,6 +1128,7 @@ class BaseTelegramBotEntity: ATTR_MSGID: message.message_id, ATTR_CHAT_ID: message.chat.id, ATTR_DATE: message.date, + ATTR_MESSAGE_THREAD_ID: message.message_thread_id, } if filters.COMMAND.filter(message): # This is a command message - set event type to command and split data into command and args