Skip to content

Commit ee84f57

Browse files
committed
Merge branch 'master' of github.com:twilio-professional-services/example-customer-end-chat
2 parents f917ce0 + 31cded0 commit ee84f57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ This example adds _End Chat_ capability into the customer-facing [Twilio Flex](h
55

66
![customer-end-chat example](https://github.com/twilio-professional-services/example-customer-end-chat/blob/media/customer-end-chat.gif)
77

8+
_clicking the X closes the window, which ends the chat_
9+
810
## How it Works
911
The goal here is to create a React Component in flex-webchat-ui that is capable of ending its own chat channel. In order to accomplish this, that component is going to hit a Twilio Function, `endChat`, with the Chat Channel SID.
1012

0 commit comments

Comments
 (0)