diff --git a/gateway/run.py b/gateway/run.py index bda0cbf9831..46c508e4bde 100644 --- a/gateway/run.py +++ b/gateway/run.py @@ -7543,6 +7543,7 @@ class GatewayRunner: hook_ctx = { "platform": source.platform.value if source.platform else "", "user_id": source.user_id, + "chat_id": source.chat_id or "", "session_id": session_entry.session_id, "message": message_text[:500], }