Skip to content

Instantly share code, notes, and snippets.

@enricop89
Last active February 8, 2019 16:45
Show Gist options
  • Save enricop89/5fa88c7d54bbd6d284ccc545711cc7ff to your computer and use it in GitHub Desktop.
Save enricop89/5fa88c7d54bbd6d284ccc545711cc7ff to your computer and use it in GitHub Desktop.
Example of SelectChat
BandyerChat.create({
userAlias: 'usr_123456',
appId: 'wAppId_fake123456',
environment: 'sandbox',
hidden: false,
screenSharingExtensionId: 'id of your screen sharing extension'
});
BandyerChat.addChat('usr_test_1').then(() => {
BandyerChat.selectChat('usr_test_1');
BandyerChat.openWidget();
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment