javadoc for chatmessage