I am using skype4py now and I am looking how to send a message if someone sends me a message.
The website of of Skype4Py is not very helpfull on this subject
I can already send a message but only when I call a script and not if a message comes in.
You can get chat from ChatMessage
.Chat and call its method sendMessaage.
Following simple callback will do the trick:
def OnMessageStatus(msg, status):
if status == Skype4Py.cmsReceived:
msg.Chat.SendMessage("n/a")