- static JsonContactPhone from(SharedContact.Phone phone) {
- return new JsonContactPhone(phone.getValue(), phone.getType(), Util.getStringIfNotBlank(phone.getLabel()));
+ static JsonContactPhone from(MessageEnvelope.Data.SharedContact.Phone phone) {
+ return new JsonContactPhone(phone.value(), phone.type().name(), Util.getStringIfNotBlank(phone.label()));