How to link message button with chat of member

I have shown all logged in members from loggedInUsers dataset, now I need to link a message button with chat so that one can click on that and start chat, as this is done by members page shown in the attached


image.

You can find information about Wix Chat here:

Hey :raised_hand_with_fingers_splayed:

You only need to add one line of code

$w("#chatbox").maximize();

chatbox is my chat box ID, change it to yours.

Read more about the chat box APIs.

but I also need to select member from the chat automatically

@engineerumairshah Does no one know how to do this? I’m surprised it’s so hard…

@dan-dsilva there’s no such API available to acomplish what you’re after.