From 8e1cd71b301e04d871a8401822f04014eb01d414 Mon Sep 17 00:00:00 2001 From: kacperf531 Date: Thu, 26 May 2022 13:13:55 +0200 Subject: [PATCH] apply suggestion from the review --- examples/agent_rtm_example.py | 2 +- examples/customer_rtm_example.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/agent_rtm_example.py b/examples/agent_rtm_example.py index 5edcbd4..30f89d0 100644 --- a/examples/agent_rtm_example.py +++ b/examples/agent_rtm_example.py @@ -9,7 +9,7 @@ chat_id = response.payload.get('chat_id') thread_id = response.payload.get('thread_id') -# Get all messages including the non-response messages (e.g. pushes). Returns a list +# Get `incoming_chat` push from all messages including the non-response messages (i.e. pushes) incoming_chat_push = agent_rtm.ws.messages[0] agent_rtm.send_event(chat_id=chat_id, diff --git a/examples/customer_rtm_example.py b/examples/customer_rtm_example.py index f4bc724..2e3aa43 100644 --- a/examples/customer_rtm_example.py +++ b/examples/customer_rtm_example.py @@ -10,7 +10,7 @@ chat_id = response.payload.get('chat_id') thread_id = response.payload.get('thread_id') -# Get all messages including the non-response messages (e.g. pushes). Returns a list +# Get `incoming_chat` push from all messages including the non-response messages (i.e. pushes) incoming_chat_push = customer_rtm.ws.messages[0] customer_rtm.send_event(chat_id=chat_id,