-
-
Save sendbird-community/39adf882ff5e14c3fda6cd7d75b91c37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Declare variables that will be used later in the code | |
var roomId; | |
var client; | |
var callee; | |
var sendbirdUser; | |
(async () => { | |
client = await app.initialized() | |
const context = await client.instance.context() | |
callee = context.data.ticketCreatorData.contact | |
agent = context.data.agentData.loggedInUser | |
sendbirdUser = context.data.sendbirdUser | |
initSendbirdCalls() | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment