org.whispersystems.signalservice.api.messages.SignalServicePreview 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, unofficial fork
package org.whispersystems.signalservice.api.messages;
import java.util.Optional;
public class SignalServicePreview {
private final String url;
private final String title;
private final String description;
private final long date;
private final Optional image;
public SignalServicePreview(String url, String title, String description, long date, Optional image) {
this.url = url;
this.title = title;
this.description = description;
this.date = date;
this.image = image;
}
public String getUrl() {
return url;
}
public String getTitle() {
return title;
}
public String getDescription() {
return description;
}
public long getDate() {
return date;
}
public Optional getImage() {
return image;
}
}