I've upgraded from sdk v3 to v4

Hi There,

In My salesforce Org, I’ve uploaded SDK v3 to V4
from below link

I’m loading the file as static resource in my VF page.like below
<apex:includeScript value=“{!$Resource.SendBird}” />

in v3 I’m using like below, and it is working
var sb = new SendBird({
appId: lexMessage.appId
});

In v4 I’m using like below, getting error: Sendbird is not a constructor
var sb = new Sendbird({
appId: lexMessage.appId
});
then I’ve updated like below, getting error: ReferenceError: SendbirdChat is not defined
var sb = SendbirdChat.init({
appId: lexMessage.appId
});

please assist

Hello @Surya_Tuttagunta,

Welcome to the Sendbird Community.

Are you using the Sendbird Salesforce Connector product or are you using Sendbird Chat SDK as a standalone in your own custom implementation?

Either way, I think looking at the documentation would be beneficial. The initialization process is different in V4.