Skip to content

Instantly share code, notes, and snippets.

@sendbird-community
Created May 8, 2023 04:35
Show Gist options
  • Save sendbird-community/0866331471efe2120c9b993e2bb82757 to your computer and use it in GitHub Desktop.
Save sendbird-community/0866331471efe2120c9b993e2bb82757 to your computer and use it in GitHub Desktop.
SendBirdCall.addListener('LISTENER_ID', {
onInvitationReceived: (invitation) => {
invitation.accept();
try {
invitation.room.enter();
// The user has entered the room.
} catch (e) {
// error happened.
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment