org.whispersystems.signalservice.api.messages.multidevice.StickerPackOperationMessage 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
package org.whispersystems.signalservice.api.messages.multidevice;
import org.whispersystems.libsignal.util.guava.Optional;
public class StickerPackOperationMessage {
private final Optional packId;
private final Optional packKey;
private final Optional type;
public StickerPackOperationMessage(byte[] packId, byte[] packKey, Type type) {
this.packId = Optional.fromNullable(packId);
this.packKey = Optional.fromNullable(packKey);
this.type = Optional.fromNullable(type);
}
public Optional getPackId() {
return packId;
}
public Optional getPackKey() {
return packKey;
}
public Optional getType() {
return type;
}
public enum Type {
INSTALL, REMOVE
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy