IM - auto accept/auto message
Hello, I was trying to make JS for auto accepting and responding to potencional customers auto message.
I have done accepting them - it's very simple, but I want to ask, how can I open chat with last contact that script accepted?
All contacts have same class: lobbyItem contact.
How can I get that specific last one that script accepted before?
Thanks for potentional answer.