code: public boolean sendLobbyChatMsg(SteamID steamIDLobby, ByteBuffer data) throws SteamException {
  
  		if (!data.isDirect()) {
  			throw new SteamException("Direct buffer required!");
  		}
  
  		return sendLobbyChatMsg(pointer, steamIDLobby.handle, data, data.position(), data.remaining());
  	}
docs: Sends chat message from a direct {@link ByteBuffer}.