Skype4J icon indicating copy to clipboard operation
Skype4J copied to clipboard

Cannot send message

Open JoaquinSiabra opened this issue 7 years ago • 0 comments

I connect as a guest, and the chat is created like this:

Chat chat = skype.getOrLoadChat("19:[email protected]");

But when I try to send a message:

chat.sendMessage(Message.create().with(Text.plain("Hello. This will be ")).with(Text.rich("bold").withBold()));

I get "Exception in thread "main" java.lang.IllegalArgumentException: User must not be null".

How can I add a user to a chat?

Thanks in advance.

JoaquinSiabra avatar Mar 29 '17 15:03 JoaquinSiabra