Add advanced options to sender and return_record in ChatComponent

This commit is contained in:
Rodrigo Nader 2024-03-28 17:34:17 -03:00
commit 91b8f12a54

View file

@ -21,6 +21,7 @@ class ChatComponent(CustomComponent):
"sender": {
"options": ["Machine", "User"],
"display_name": "Sender Type",
"advanced": True,
},
"sender_name": {"display_name": "Sender Name"},
"session_id": {
@ -31,6 +32,7 @@ class ChatComponent(CustomComponent):
"return_record": {
"display_name": "Return Record",
"info": "Return the message as a record containing the sender, sender_name, and session_id.",
"advanced": True,
},
}