mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-19 15:14:21 +01:00
@@ -65,4 +65,23 @@ public interface Signal extends DBusInterface {
|
||||
return attachments;
|
||||
}
|
||||
}
|
||||
|
||||
class ReceiptReceived extends DBusSignal {
|
||||
private long timestamp;
|
||||
private String sender;
|
||||
|
||||
public ReceiptReceived(String objectpath, long timestamp, String sender) throws DBusException {
|
||||
super(objectpath, timestamp, sender);
|
||||
this.timestamp = timestamp;
|
||||
this.sender = sender;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public String getSender() {
|
||||
return sender;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user