From cd21a615e6bcd116075ee44e581578eb337aad5f Mon Sep 17 00:00:00 2001 From: Aleksandar Hitrov Date: Fri, 21 Aug 2020 19:58:25 +0300 Subject: [PATCH] [CHAT-1175]: Support for rich quick replies --- Blank/ar/tests.json | 10 ++ Blank/bg/tests.json | 10 ++ Blank/de/tests.json | 10 ++ Blank/en/proxy-tests.json | 10 ++ Blank/en/tests.json | 10 ++ Blank/es/tests.json | 17 ++- Blank/fi/tests.json | 12 +- Blank/it/tests.json | 12 +- Blank/nl/tests.json | 12 +- Blank/pt/tests.json | 12 +- Blank/zh/tests.json | 12 +- InsuranceAgent/en/tests.json | 238 +++++++++++++++++++++++++++++++- QuickStart/bg/tests.json | 110 ++++++++++++++- QuickStart/de/tests.json | 258 +++++++++++++++++++++++++++-------- QuickStart/en/tests.json | 110 ++++++++++++++- 15 files changed, 774 insertions(+), 69 deletions(-) diff --git a/Blank/ar/tests.json b/Blank/ar/tests.json index 4ea4ad0..76cfa60 100644 --- a/Blank/ar/tests.json +++ b/Blank/ar/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "المحادثة 1", "المحادثة 2" + ], + "richQuickReplies":[ + { + "title":"المحادثة 1", + "value":"المحادثة 1" + }, + { + "title":"المحادثة 2", + "value":"المحادثة 2" + } ] } ] diff --git a/Blank/bg/tests.json b/Blank/bg/tests.json index 93ab439..51baad3 100644 --- a/Blank/bg/tests.json +++ b/Blank/bg/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Разговор 1", "Разговор 2" + ], + "richQuickReplies": [ + { + "title":"Разговор 1", + "value":"Разговор 1" + }, + { + "title":"Разговор 2", + "value":"Разговор 2" + } ] } ] diff --git a/Blank/de/tests.json b/Blank/de/tests.json index 2389057..7b5e820 100644 --- a/Blank/de/tests.json +++ b/Blank/de/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Konversation 1", "Konversation 2" + ], + "richQuickReplies": [ + { + "title":"Konversation 1", + "value":"Konversation 1" + }, + { + "title":"Konversation 2", + "value":"Konversation 2" + } ] } ] diff --git a/Blank/en/proxy-tests.json b/Blank/en/proxy-tests.json index 2b2be48..cea9118 100644 --- a/Blank/en/proxy-tests.json +++ b/Blank/en/proxy-tests.json @@ -32,6 +32,16 @@ "quickReplies": [ "Conversation 1", "Conversation 2" + ], + "richQuickReplies": [ + { + "title":"Conversation 1", + "value":"Conversation 1" + }, + { + "title":"Conversation 2", + "value":"Conversation 2" + } ] } ] diff --git a/Blank/en/tests.json b/Blank/en/tests.json index 8637ad0..2f6da0b 100644 --- a/Blank/en/tests.json +++ b/Blank/en/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Conversation 1", "Conversation 2" + ], + "richQuickReplies": [ + { + "title":"Conversation 1", + "value":"Conversation 1" + }, + { + "title":"Conversation 2", + "value":"Conversation 2" + } ] } ] diff --git a/Blank/es/tests.json b/Blank/es/tests.json index 3b2a2bb..f427727 100644 --- a/Blank/es/tests.json +++ b/Blank/es/tests.json @@ -17,7 +17,20 @@ }, { "text": "Esto es lo que puedo hacer por ti:", - "quickReplies": ["Conversación 1", "Conversación 2"] + "quickReplies": [ + "Conversación 1", + "Conversación 2" + ], + "richQuickReplies": [ + { + "title": "Conversación 1", + "value": "Conversación 1" + }, + { + "title": "Conversación 2", + "value": "Conversación 2" + } + ] } ] ] @@ -37,4 +50,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/Blank/fi/tests.json b/Blank/fi/tests.json index 64eb604..ab98cd5 100644 --- a/Blank/fi/tests.json +++ b/Blank/fi/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Keskustelu 1", "Keskustelu 2" + ], + "richQuickReplies": [ + { + "title": "Keskustelu 1", + "value": "Keskustelu 1" + }, + { + "title": "Keskustelu 2", + "value": "Keskustelu 2" + } ] } ] @@ -40,4 +50,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/Blank/it/tests.json b/Blank/it/tests.json index c9e9fd5..a722c52 100755 --- a/Blank/it/tests.json +++ b/Blank/it/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Conversazione 1", "Conversazione 2" + ], + "richQuickReplies": [ + { + "title": "Conversazione 1", + "value": "Conversazione 1" + }, + { + "title": "Conversazione 2", + "value": "Conversazione 2" + } ] } ] @@ -40,4 +50,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/Blank/nl/tests.json b/Blank/nl/tests.json index e1d7d42..3a8d7d4 100755 --- a/Blank/nl/tests.json +++ b/Blank/nl/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Gesprek 1", "Gesprek 2" + ], + "richQuickReplies": [ + { + "title": "Gesprek 1", + "value": "Gesprek 1" + }, + { + "title": "Gesprek 2", + "value": "Gesprek 2" + } ] } ] @@ -40,4 +50,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/Blank/pt/tests.json b/Blank/pt/tests.json index 834fb9b..473275c 100644 --- a/Blank/pt/tests.json +++ b/Blank/pt/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Conversa 1", "Conversa 2" + ], + "richQuickReplies": [ + { + "title": "Conversa 1", + "value": "Conversa 1" + }, + { + "title": "Conversa 2", + "value": "Conversa 2" + } ] } ] @@ -40,4 +50,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/Blank/zh/tests.json b/Blank/zh/tests.json index e1162b6..7d2c1c2 100644 --- a/Blank/zh/tests.json +++ b/Blank/zh/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "对话1", "会话2" + ], + "richQuickReplies": [ + { + "title": "对话1", + "value": "对话1" + }, + { + "title": "会话2", + "value": "会话2" + } ] } ] @@ -40,4 +50,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/InsuranceAgent/en/tests.json b/InsuranceAgent/en/tests.json index 8f4b404..9eecb9d 100644 --- a/InsuranceAgent/en/tests.json +++ b/InsuranceAgent/en/tests.json @@ -81,6 +81,20 @@ "New insurance", "Fill a claim", "Contact operator" + ], + "richQuickReplies": [ + { + "title": "New insurance", + "value": "New insurance" + }, + { + "title": "Fill a claim", + "value": "Fill a claim" + }, + { + "title": "Contact operator", + "value": "Contact operator" + } ] } ] @@ -1848,6 +1862,32 @@ "1 April 2015", "Bulgaria", "Italy" + ], + "richQuickReplies": [ + { + "title": "Confirm", + "value": "Confirm" + }, + { + "title": "30", + "value": "30" + }, + { + "title": "11 March 2015", + "value": "11 March 2015" + }, + { + "title": "1 April 2015", + "value": "1 April 2015" + }, + { + "title": "Bulgaria", + "value": "Bulgaria" + }, + { + "title": "Italy", + "value": "Italy" + } ] } ] @@ -1864,6 +1904,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -1893,6 +1943,32 @@ "1 April 2015", "Bulgaria", "Italy" + ], + "richQuickReplies": [ + { + "title": "Confirm", + "value": "Confirm" + }, + { + "title": "30", + "value": "30" + }, + { + "title": "11 March 2015", + "value": "11 March 2015" + }, + { + "title": "1 April 2015", + "value": "1 April 2015" + }, + { + "title": "Bulgaria", + "value": "Bulgaria" + }, + { + "title": "Italy", + "value": "Italy" + } ] } ] @@ -1925,6 +2001,32 @@ "1 April 2015", "Bulgaria", "Italy" + ], + "richQuickReplies": [ + { + "title": "Confirm", + "value": "Confirm" + }, + { + "title": "30", + "value": "30" + }, + { + "title": "11 March 2015", + "value": "11 March 2015" + }, + { + "title": "1 April 2015", + "value": "1 April 2015" + }, + { + "title": "Bulgaria", + "value": "Bulgaria" + }, + { + "title": "Italy", + "value": "Italy" + } ] } ] @@ -2005,6 +2107,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -2059,6 +2171,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -2158,6 +2280,20 @@ "New insurance", "Fill a claim", "Contact operator" + ], + "richQuickReplies": [ + { + "title": "New insurance", + "value": "New insurance" + }, + { + "title": "Fill a claim", + "value": "Fill a claim" + }, + { + "title": "Contact operator", + "value": "Contact operator" + } ] } ] @@ -2185,6 +2321,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -2201,6 +2347,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -2220,6 +2376,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -2237,6 +2403,20 @@ "AN192181B", "NB887712C", "OA298717J" + ], + "richQuickReplies": [ + { + "title": "AN192181B", + "value": "AN192181B" + }, + { + "title": "NB887712C", + "value": "NB887712C" + }, + { + "title": "OA298717J", + "value": "OA298717J" + } ] } ] @@ -2288,6 +2468,24 @@ "AN192181B", "558.25", "Receipt picture" + ], + "richQuickReplies": [ + { + "title": "Confirm", + "value": "Confirm" + }, + { + "title": "AN192181B", + "value": "AN192181B" + }, + { + "title": "558.25", + "value": "558.25" + }, + { + "title": "Receipt picture", + "value": "Receipt picture" + } ] } ] @@ -2333,6 +2531,20 @@ "New insurance", "Fill a claim", "Contact operator" + ], + "richQuickReplies": [ + { + "title": "New insurance", + "value": "New insurance" + }, + { + "title": "Fill a claim", + "value": "Fill a claim" + }, + { + "title": "Contact operator", + "value": "Contact operator" + } ] } ] @@ -2360,6 +2572,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -2406,6 +2628,20 @@ "New insurance", "Fill a claim", "Contact operator" + ], + "richQuickReplies": [ + { + "title": "New insurance", + "value": "New insurance" + }, + { + "title": "Fill a claim", + "value": "Fill a claim" + }, + { + "title": "Contact operator", + "value": "Contact operator" + } ] } ] @@ -2458,4 +2694,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/QuickStart/bg/tests.json b/QuickStart/bg/tests.json index 25e2e5a..1bb163a 100644 --- a/QuickStart/bg/tests.json +++ b/QuickStart/bg/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Запазване на час", "Връзка с оператор" + ], + "richQuickReplies": [ + { + "title": "Запазване на час", + "value": "Запазване на час" + }, + { + "title": "Връзка с оператор", + "value": "Връзка с оператор" + } ] } ] @@ -37,6 +47,20 @@ "Др. Валентин Щерев", "Др. Ралица Милчева", "Др. Теодор Финков" + ], + "richQuickReplies": [ + { + "title": "Др. Валентин Щерев", + "value": "Др. Валентин Щерев" + }, + { + "title": "Др. Ралица Милчева", + "value": "Др. Ралица Милчева" + }, + { + "title": "Др. Теодор Финков", + "value": "Др. Теодор Финков" + } ] } ] @@ -54,6 +78,20 @@ "2017-08-07", "2017-08-15", "2017-08-24" + ], + "richQuickReplies": [ + { + "title": "2017-08-07", + "value": "2017-08-07" + }, + { + "title": "2017-08-15", + "value": "2017-08-15" + }, + { + "title": "2017-08-24", + "value": "2017-08-24" + } ] } ] @@ -71,6 +109,20 @@ "9:30", "10:00", "10:30" + ], + "richQuickReplies": [ + { + "title": "9:30", + "value": "9:30" + }, + { + "title": "10:00", + "value": "10:00" + }, + { + "title": "10:30", + "value": "10:30" + } ] } ] @@ -104,6 +156,24 @@ "Др. Валентин Щерев", "2017.08.07", "10:00" + ], + "richQuickReplies": [ + { + "title": "Потвърждавам", + "value": "Потвърждавам" + }, + { + "title": "Др. Валентин Щерев", + "value": "Др. Валентин Щерев" + }, + { + "title": "2017.08.07", + "value": "2017.08.07" + }, + { + "title": "10:00", + "value": "10:00" + } ] } ] @@ -179,6 +249,24 @@ "Др. Валентин Щерев", "2017.08.08", "15:00" + ], + "richQuickReplies": [ + { + "title": "Потвърждавам", + "value": "Потвърждавам" + }, + { + "title": "Др. Валентин Щерев", + "value": "Др. Валентин Щерев" + }, + { + "title": "2017.08.08", + "value": "2017.08.08" + }, + { + "title": "15:00", + "value": "15:00" + } ] } ] @@ -237,6 +325,16 @@ "quickReplies": [ "Запазване на час", "Връзка с оператор" + ], + "richQuickReplies": [ + { + "title": "Запазване на час", + "value": "Запазване на час" + }, + { + "title": "Връзка с оператор", + "value": "Връзка с оператор" + } ] } ] @@ -253,6 +351,16 @@ "quickReplies": [ "Да", "Не" + ], + "richQuickReplies": [ + { + "title": "Да", + "value": "Да" + }, + { + "title": "Не", + "value": "Не" + } ] } ] @@ -281,4 +389,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/QuickStart/de/tests.json b/QuickStart/de/tests.json index d50073a..8d67d83 100644 --- a/QuickStart/de/tests.json +++ b/QuickStart/de/tests.json @@ -1,12 +1,15 @@ { - "scenarios": [{ + "scenarios": [ + { "it": "completes a straightforward conversation", - "steps": [{ + "steps": [ + { "user": { "text": "Hallo" }, "bot": [ - [{ + [ + { "text": "Hallo, ich bin der virtuelle Assistent des ACME-Krankenhauses mit künstlicher Intelligenz." }, { @@ -17,6 +20,16 @@ "quickReplies": [ "Buchen Sie einen Arzt", "Kontakt Betreiber" + ], + "richQuickReplies": [ + { + "title": "Buchen Sie einen Arzt", + "value": "Buchen Sie einen Arzt" + }, + { + "title": "Kontakt Betreiber", + "value": "Kontakt Betreiber" + } ] } ] @@ -27,14 +40,30 @@ "text": "Buchen Sie einen Arzt" }, "bot": [ - [{ - "text": "Wie heißt der Arzt, den du sehen willst?", - "quickReplies": [ - "Dr. David Alcutt", - "Dr. John Burke", - "Dr. Mary Cannon" - ] - }] + [ + { + "text": "Wie heißt der Arzt, den du sehen willst?", + "quickReplies": [ + "Dr. David Alcutt", + "Dr. John Burke", + "Dr. Mary Cannon" + ], + "richQuickReplies": [ + { + "title": "Dr. David Alcutt", + "value": "Dr. David Alcutt" + }, + { + "title": "Dr. John Burke", + "value": "Dr. John Burke" + }, + { + "title": "Dr. Mary Cannon", + "value": "Dr. Mary Cannon" + } + ] + } + ] ] }, { @@ -42,14 +71,30 @@ "text": "John Burke" }, "bot": [ - [{ - "text": "Mit welchem ​​Datum möchten Sie sich mit Dr. John Burke treffen?", - "quickReplies": [ - "2017-08-07", - "2017-08-15", - "2017-08-24" - ] - }] + [ + { + "text": "Mit welchem ​​Datum möchten Sie sich mit Dr. John Burke treffen?", + "quickReplies": [ + "2017-08-07", + "2017-08-15", + "2017-08-24" + ], + "richQuickReplies": [ + { + "title": "2017-08-07", + "value": "2017-08-07" + }, + { + "title": "2017-08-15", + "value": "2017-08-15" + }, + { + "title": "2017-08-24", + "value": "2017-08-24" + } + ] + } + ] ] }, { @@ -57,14 +102,30 @@ "text": "2017-08-07" }, "bot": [ - [{ - "text": "Wann möchten Sie Dr. John Burke am 2017.08.07 treffen?", - "quickReplies": [ - "9:30", - "10:00", - "10:30" - ] - }] + [ + { + "text": "Wann möchten Sie Dr. John Burke am 2017.08.07 treffen?", + "quickReplies": [ + "9:30", + "10:00", + "10:30" + ], + "richQuickReplies": [ + { + "title": "9:30", + "value": "9:30" + }, + { + "title": "10:00", + "value": "10:00" + }, + { + "title": "10:30", + "value": "10:30" + } + ] + } + ] ] }, { @@ -72,9 +133,11 @@ "text": "10:00" }, "bot": [ - [{ - "text": "Was sind deine Vor- und Nachnamen?" - }] + [ + { + "text": "Was sind deine Vor- und Nachnamen?" + } + ] ] }, { @@ -82,7 +145,8 @@ "text": "John Smith" }, "bot": [ - [{ + [ + { "text": "Ich buche Ihnen am 2017.08.07 um 10:00 einen Termin für Dr. John Burke." }, { @@ -92,6 +156,24 @@ "Dr. John Burke", "2017.08.07", "10:00" + ], + "richQuickReplies": [ + { + "title": "Bestätigen", + "value": "Bestätigen" + }, + { + "title": "Dr. John Burke", + "value": "Dr. John Burke" + }, + { + "title": "2017.08.07", + "value": "2017.08.07" + }, + { + "title": "10:00", + "value": "10:00" + } ] } ] @@ -102,9 +184,11 @@ "text": "Bestätigen" }, "bot": [ - [{ - "text": "Herzlichen Glückwunsch. Sie haben einen Termin mit Dr. John Burke für 2017.08.07 um 10:00. Bis bald!" - }] + [ + { + "text": "Herzlichen Glückwunsch. Sie haben einen Termin mit Dr. John Burke für 2017.08.07 um 10:00. Bis bald!" + } + ] ] } ], @@ -130,12 +214,14 @@ }, { "it": "completes a short conversation", - "steps": [{ + "steps": [ + { "user": { "text": "Hallo! Ich möchte 8 am August 2017 um 15:00 einen Termin für Dr. Burke buchen." }, "bot": [ - [{ + [ + { "text": "Hallo, ich bin der virtuelle Assistent des ACME-Krankenhauses mit künstlicher Intelligenz." }, { @@ -152,7 +238,8 @@ "text": "John Smith" }, "bot": [ - [{ + [ + { "text": "Ich buche Ihnen am 2017.08.08 um 15:00 einen Termin für Dr. John Burke." }, { @@ -162,6 +249,24 @@ "Dr. John Burke", "2017.08.08", "15:00" + ], + "richQuickReplies": [ + { + "title": "Bestätigen", + "value": "Bestätigen" + }, + { + "title": "Dr. John Burke", + "value": "Dr. John Burke" + }, + { + "title": "2017.08.08", + "value": "2017.08.08" + }, + { + "title": "15:00", + "value": "15:00" + } ] } ] @@ -172,9 +277,11 @@ "text": "Bestätigen" }, "bot": [ - [{ - "text": "Herzlichen Glückwunsch. Sie haben einen Termin mit Dr. John Burke für 2017.08.08 um 15:00. Bis bald!" - }] + [ + { + "text": "Herzlichen Glückwunsch. Sie haben einen Termin mit Dr. John Burke für 2017.08.08 um 15:00. Bis bald!" + } + ] ] } ], @@ -200,20 +307,37 @@ }, { "it": "transfers chat to operator", - "steps": [{ + "steps": [ + { "user": { "text": "Hallo" }, "bot": [ - [{ - "text": "Hallo, ich bin der virtuelle Assistent des ACME-Krankenhauses mit künstlicher Intelligenz." - }, { - "text": "Wenn Sie nicht weiterkommen, können Sie unsere Konversation jederzeit mit 'Neustart' neu starten." - }, { - "text": "Hier ist was ich für dich tun kann:", - "quickReplies": ["Buchen Sie einen Arzt", "Kontakt Betreiber"] - }] - + [ + { + "text": "Hallo, ich bin der virtuelle Assistent des ACME-Krankenhauses mit künstlicher Intelligenz." + }, + { + "text": "Wenn Sie nicht weiterkommen, können Sie unsere Konversation jederzeit mit 'Neustart' neu starten." + }, + { + "text": "Hier ist was ich für dich tun kann:", + "quickReplies": [ + "Buchen Sie einen Arzt", + "Kontakt Betreiber" + ], + "richQuickReplies": [ + { + "title": "Buchen Sie einen Arzt", + "value": "Buchen Sie einen Arzt" + }, + { + "title": "Kontakt Betreiber", + "value": "Kontakt Betreiber" + } + ] + } + ] ] }, { @@ -221,11 +345,25 @@ "text": "Kontaktieren Sie Support" }, "bot": [ - [{ - "text": "Möchten Sie die Konversation mit einem Operator fortsetzen?", - "quickReplies": ["Ja", "Nein"] - }] - + [ + { + "text": "Möchten Sie die Konversation mit einem Operator fortsetzen?", + "quickReplies": [ + "Ja", + "Nein" + ], + "richQuickReplies": [ + { + "title": "Ja", + "value": "Ja" + }, + { + "title": "Nein", + "value": "Nein" + } + ] + } + ] ] }, { @@ -233,9 +371,11 @@ "text": "Ja" }, "bot": [ - [{ - "text": "Ich übergebe Sie an einen Operator, und ich werde die nächsten 60 Minuten still bleiben. Wenn Sie zu mir zurückkehren wollen, geben Sie bitte 'neustart' ein." - }] + [ + { + "text": "Ich übergebe Sie an einen Operator, und ich werde die nächsten 60 Minuten still bleiben. Wenn Sie zu mir zurückkehren wollen, geben Sie bitte 'neustart' ein." + } + ] ] }, { @@ -249,4 +389,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/QuickStart/en/tests.json b/QuickStart/en/tests.json index 94fac53..0fb787e 100644 --- a/QuickStart/en/tests.json +++ b/QuickStart/en/tests.json @@ -20,6 +20,16 @@ "quickReplies": [ "Book a doctor", "Contact operator" + ], + "richQuickReplies": [ + { + "title": "Book a doctor", + "value": "Book a doctor" + }, + { + "title": "Contact operator", + "value": "Contact operator" + } ] } ] @@ -37,6 +47,20 @@ "Dr. David Alcutt", "Dr. John Burke", "Dr. Mary Cannon" + ], + "richQuickReplies": [ + { + "title": "Dr. David Alcutt", + "value": "Dr. David Alcutt" + }, + { + "title": "Dr. John Burke", + "value": "Dr. John Burke" + }, + { + "title": "Dr. Mary Cannon", + "value": "Dr. Mary Cannon" + } ] } ] @@ -54,6 +78,20 @@ "2017-08-07", "2017-08-15", "2017-08-24" + ], + "richQuickReplies": [ + { + "title": "2017-08-07", + "value": "2017-08-07" + }, + { + "title": "2017-08-15", + "value": "2017-08-15" + }, + { + "title": "2017-08-24", + "value": "2017-08-24" + } ] } ] @@ -71,6 +109,20 @@ "9:30", "10:00", "10:30" + ], + "richQuickReplies": [ + { + "title": "9:30", + "value": "9:30" + }, + { + "title": "10:00", + "value": "10:00" + }, + { + "title": "10:30", + "value": "10:30" + } ] } ] @@ -104,6 +156,24 @@ "Dr. John Burke", "2017.08.07", "10:00" + ], + "richQuickReplies": [ + { + "title": "Confirm", + "value": "Confirm" + }, + { + "title": "Dr. John Burke", + "value": "Dr. John Burke" + }, + { + "title": "2017.08.07", + "value": "2017.08.07" + }, + { + "title": "10:00", + "value": "10:00" + } ] } ] @@ -179,6 +249,24 @@ "Dr. John Burke", "2017.08.08", "15:00" + ], + "richQuickReplies": [ + { + "title": "Confirm", + "value": "Confirm" + }, + { + "title": "Dr. John Burke", + "value": "Dr. John Burke" + }, + { + "title": "2017.08.08", + "value": "2017.08.08" + }, + { + "title": "15:00", + "value": "15:00" + } ] } ] @@ -237,6 +325,16 @@ "quickReplies": [ "Book a doctor", "Contact operator" + ], + "richQuickReplies": [ + { + "title": "Book a doctor", + "value": "Book a doctor" + }, + { + "title": "Contact operator", + "value": "Contact operator" + } ] } ] @@ -253,6 +351,16 @@ "quickReplies": [ "Yes", "No" + ], + "richQuickReplies": [ + { + "title": "Yes", + "value": "Yes" + }, + { + "title": "No", + "value": "No" + } ] } ] @@ -281,4 +389,4 @@ ] } ] -} +} \ No newline at end of file