Closed bjm88 closed 1 year ago
Hey there @bjm88
Attributes
into the initiate chat call, they will be picked up here when we start the chat: https://github.com/amazon-connect/amazon-connect-chat-interface/blob/master/src/components/Chat/ChatInitiator.js#L43
Hi - since this code seems to be the default chat UI, is there a way to listen to published events?? Like on agent side in CCPv2 we have:
window.connect.contact(function (contact) { contact.onConnecting(async function (contact) { console.log("Contact connecting " + JSON.stringify(contact))
Is there a way to have this for this code as well? Want a simple way to hook-in to get notified of a contactId when consumer first starts.......
ideally also pass in customized attributes that would be available in the AWS Connect contact flow. Anyway to do these things without totally forking and hosting this code ourself?