// Synchronize user data and set up
const currentUser = new Talk.User({
id: 79302, // user id
name: "George Looney", // full name
email: "george@looney.net" // for offline email fallback
});
const talkSession = new Talk.Session({
appId: "9352938974", // your TalkJS account id
me: currentUser // make George the active user
});
// All set! Let's turn a div into George Looney's messaging center
const inbox = talksSession.createInbox();
inbox.mount(this.$refs.talkjs);