java - Skype4Java check what a user says in chat -


well, need skype4java check user has said in chat, if equals command send response. have response part handled, need know how make check user has said in chat.

it be:

skype.addchatmessagelistener(new chathandler()); 

and:

public void chatmessagereceived(chatmessage chatmessage) throws skypeexception {     user sender = chatmessage.getsender();     sender.send("hue" + sender.getid()); } 

Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -