skype-java-api icon indicating copy to clipboard operation
skype-java-api copied to clipboard

Documentation

Open byAdam opened this issue 9 years ago • 6 comments

Is there any documentation for this? I have been searching for a while and I cant find anything

byAdam avatar Jan 25 '16 22:01 byAdam

Sorry, but no. What I have are several samples, that can be found here:

https://github.com/taksan/skype-api-samples

taksan avatar Jan 26 '16 22:01 taksan

Thanks for the reply. From the samples, I can't see anything relating to sending/reading messages in group chats, Either P2P or Cloud-based? Is this possible with API?

byAdam avatar Jan 29 '16 19:01 byAdam

Cloud-based chats are not working (or they work at random times without a specific reason ) with this api. You can only with p2p chats or group p2p chats ( moderated chats ). For sending and receiving messages generally you need to you a ChatMessageListener and override the methods

  1. chatMessageReceived(ChatMessage rec)
  2. chatMessageSent(ChatMessage sent)

If you like you can check my bot it may be what you looking for to use or take code.

Cuniq avatar Jan 31 '16 11:01 Cuniq

To complement @Cuniq information:

If you start a chat with a newer windows or mac client, you won't be able to use this api to send messages to that chat.

If you start with an older client (for example, with a linux client), you can send messages to the chat using the regular send message api (the same that you'd use to send messages to user). To do that, the easiest way is to name the chat and use this name instead of the user name in the api methods that require the user name.

taksan avatar Jan 31 '16 16:01 taksan

Hello Taksan,

First of all, thank you for the API. Will this, by any chance, work with cloud based chats in the future?

Regards, Will

imWillX avatar Feb 19 '16 00:02 imWillX

@imWillX It's not likely that this API will ever work with cloud chats. This is due to microsoft deprecating the desktop api.

taksan avatar Jul 25 '16 20:07 taksan