Changes
Page history
Update API Call Flow (Web)
authored
Jul 23, 2024
by
Nuwan
Show whitespace changes
Inline
Side-by-side
common/API-Call-Flow-(Web).md
View page @
77ac3459
...
@@ -2,14 +2,12 @@
...
@@ -2,14 +2,12 @@
graph TB
graph TB
*(( )) --Initialize --> Livechat2Api
*(( )) --Initialize --> Livechat2Api
Livechat2Api --Omni Login --> api:login
api:login --> api:start
api:login --> api:start
Livechat2Api --Custom Login --> api:setUserAuth
Livechat2Api --Custom Login --> api:setUserAuth
api:setUserAuth-->api:start
api:setUserAuth-->api:start
api:start-->evt:onStartSuceess
api:start-->evt:onStartSuceess
evt:onStartSuceess --Omni--> api:sendUserMessageV2
evt:onStartSuceess-->api:findUser
evt:onStartSuceess-->api:findUser
api:findUser-->evt:onRequestQueued
api:findUser
(optional)
-->evt:onRequestQueued
evt:onRequestQueued -->evt:onUserFound
evt:onRequestQueued -->evt:onUserFound
evt:onRequestQueued -->evt:onUserNotFound
evt:onRequestQueued -->evt:onUserNotFound
...
...
...
...