From 5023da830d4064d197ffcc99a81511f3bb722568 Mon Sep 17 00:00:00 2001 From: zuczkows Date: Thu, 17 Jul 2025 10:42:53 +0200 Subject: [PATCH] ME-526: Add custom_id param to send_thinking_indicator --- livechat/agent/rtm/api/v36.py | 2 ++ livechat/agent/web/api/v36.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/livechat/agent/rtm/api/v36.py b/livechat/agent/rtm/api/v36.py index 5876f77..a2d6a88 100644 --- a/livechat/agent/rtm/api/v36.py +++ b/livechat/agent/rtm/api/v36.py @@ -957,6 +957,7 @@ def send_thinking_indicator(self, visibility: str = None, title: str = None, description: str = None, + custom_id: str = None, payload: dict = None) -> RtmResponse: ''' Sends a thinking indicator. @@ -965,6 +966,7 @@ def send_thinking_indicator(self, visibility (str): Possible values: `all`, `agents`. title (str): Title of the thinking indicator. description (str): Description of the thinking indicator. + custom_id (str): Custom ID for the thinking indicator. payload (dict): Custom payload to be used as request's data. It overrides all other parameters provided for the method. diff --git a/livechat/agent/web/api/v36.py b/livechat/agent/web/api/v36.py index 6eb511b..c2b6636 100644 --- a/livechat/agent/web/api/v36.py +++ b/livechat/agent/web/api/v36.py @@ -992,6 +992,7 @@ def send_thinking_indicator(self, title: str = None, description: str = None, visibility: str = None, + custom_id: str = None, payload: dict = None, headers: dict = None) -> httpx.Response: ''' Sends thinking indicator. @@ -1001,6 +1002,7 @@ def send_thinking_indicator(self, title (str): Title of the thinking indicator. description (str): Description of the thinking indicator. visibility (str): Possible values: `all`, `agents`. + custom_id (str): Custom ID for the thinking indicator. payload (dict): Custom payload to be used as request's data. It overrides all other parameters provided for the method. headers (dict): Custom headers to be used with session headers.