powered by Jive Software

No find createMessage() method in chat class!

Chat newChat = new Chat();

Message newMessage = newChat.createMessage(); //error;

I can’'t find createMessage() method in Chat class

Help me.

You can use Chat.sendMessage(String), or you can build a Message using one of that classes constructors and send it using Chat.sendMessage(Message).