Well, I need Skype4Java to check what a user has said in chat, so if it equals a command then it will send a response. I have the response part handled, I just need to know how to make it check what a user has said in chat.
Asked
Active
Viewed 104 times
-1
-
Please tell us, what have you tried. – Zhedar Apr 15 '14 at 22:28
-
I tried a few things, all resulted in errors. Any tips on checking what someone sends to you in chat? – user3537938 Apr 16 '14 at 02:33
-
your question seems very low quality, please add your research and avoid asking opinions here – VedantK Jul 25 '15 at 16:23
1 Answers
0
It would be:
Skype.addChatMessageListener(new ChatHandler());
And:
public void chatMessageReceived(ChatMessage chatMessage) throws SkypeException {
User sender = chatMessage.getSender();
sender.send("hue" + sender.getId());
}

Shadow
- 170
- 1
- 11