Update API Call Flow (Web) authored by Nuwan's avatar Nuwan
......@@ -5,8 +5,8 @@ graph TB
Livechat2Api --Custom Login --> api:setUserAuth
api:setUserAuth-->api:start
api:start-->evt:onStartSuceess
evt:onStartSuceess-->api:findUser
api:findUser(optional)-->evt:onRequestQueued
evt:onStartSuceess-->api:findUser*
api:findUser*-->evt:onRequestQueued
evt:onRequestQueued -->evt:onUserFound
evt:onRequestQueued -->evt:onUserNotFound
......@@ -20,5 +20,5 @@ api:start-->evt:onStartFailed
evt:onStartFailed --> End
```
* Livechat2Api object exposes documented events and application must set handlers for those accordingly.
\ No newline at end of file
* api.findUser is optional and not required for most cases.
* Livechat2Api object exposes documented events for application to set handlers accordingly.
\ No newline at end of file