mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
24 lines
586 B
Java
24 lines
586 B
Java
package org.briarproject.api.messaging;
|
|
|
|
import org.briarproject.api.clients.BaseMessage;
|
|
import org.briarproject.api.sync.Message;
|
|
import org.briarproject.api.sync.MessageId;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public class PrivateMessage extends BaseMessage {
|
|
|
|
private final String contentType;
|
|
|
|
public PrivateMessage(@NotNull Message message, @Nullable MessageId parent,
|
|
@NotNull String contentType) {
|
|
super(message, parent);
|
|
this.contentType = contentType;
|
|
}
|
|
|
|
public String getContentType() {
|
|
return contentType;
|
|
}
|
|
|
|
}
|