org.whispersystems.signalservice.api.messages.multidevice.ConfigurationMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signal-service-java Show documentation
Show all versions of signal-service-java Show documentation
Signal Service communication library for Java
The newest version!
package org.whispersystems.signalservice.api.messages.multidevice;
import org.whispersystems.libsignal.util.guava.Optional;
public class ConfigurationMessage {
private final Optional readReceipts;
private final Optional unidentifiedDeliveryIndicators;
private final Optional typingIndicators;
private final Optional linkPreviews;
public ConfigurationMessage(Optional readReceipts,
Optional unidentifiedDeliveryIndicators,
Optional typingIndicators,
Optional linkPreviews)
{
this.readReceipts = readReceipts;
this.unidentifiedDeliveryIndicators = unidentifiedDeliveryIndicators;
this.typingIndicators = typingIndicators;
this.linkPreviews = linkPreviews;
}
public Optional getReadReceipts() {
return readReceipts;
}
public Optional getUnidentifiedDeliveryIndicators() {
return unidentifiedDeliveryIndicators;
}
public Optional getTypingIndicators() {
return typingIndicators;
}
public Optional getLinkPreviews() {
return linkPreviews;
}
}