}
}
- private record Storage(List<Recipient> recipients, long lastId) {
+ public record Storage(List<Recipient> recipients, long lastId) {
- private record Recipient(
+ public record Recipient(
long id,
String number,
String uuid,
Profile profile
) {
- private record Contact(
+ public record Contact(
String name,
String color,
int messageExpirationTime,
boolean profileSharingEnabled
) {}
- private record Profile(
+ public record Profile(
long lastUpdateTimestamp,
String givenName,
String familyName,
}
}
- private record Storage(List<SharedSenderKey> sharedSenderKeys) {
+ public record Storage(List<SharedSenderKey> sharedSenderKeys) {
- private record SharedSenderKey(long recipientId, int deviceId, String distributionId) {}
+ public record SharedSenderKey(long recipientId, int deviceId, String distributionId) {}
}
}