All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.whispersystems.signalservice.api.messages.multidevice.ConfigurationMessage Maven / Gradle / Ivy

There is a newer version: 2.15.3
Show 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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy