Add message_thread_id to telegram_text and telegram_command events (#130738)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>pull/135767/head
parent
421f9aa638
commit
3638d25f6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue