public boolean sendLobbyChatMsg(SteamID steamIDLobby, ByteBuffer data) throws SteamException {

		if (!data.isDirect()) {
			throw new SteamException("Direct buffer required!");
		}

		return SteamMatchmakingNative.sendLobbyChatMsg(steamIDLobby.handle, data, data.position(), data.remaining());
	}
Sends chat message from a direct {@link ByteBuffer}.
java-wrapper/src/main/java/com/codedisaster/steamworks/SteamMatchmaking.java