From d58d3faa70ba1e39f0e217bb537e7852273dfcb9 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Tue, 29 Jul 2025 22:14:00 -0400 Subject: [PATCH] messageReplyOption only present if thread_key specified --- apprise/plugins/google_chat.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apprise/plugins/google_chat.py b/apprise/plugins/google_chat.py index 60031e8e..e7d99c33 100644 --- a/apprise/plugins/google_chat.py +++ b/apprise/plugins/google_chat.py @@ -220,10 +220,13 @@ class NotifyGoogleChat(NotifyBase): # Prepare our URL Parameters "token": self.webhook_token, "key": self.webhook_key, - "messageReplyOption" : "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", } if self.thread_key: + params.update({ + "messageReplyOption": "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", + }) + payload.update({ "thread": { "thread_key": self.thread_key,