Add message_thread_id to telegram_text and telegram_command events (#130738)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
pull/135767/head
DrDonoso 2025-01-16 13:03:42 +01:00 committed by GitHub
parent 421f9aa638
commit 3638d25f6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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