it.auties.whatsapp.model.sync.PhotoChange Maven / Gradle / Ivy
package it.auties.whatsapp.model.sync;
import it.auties.protobuf.annotation.ProtobufMessageName;
import it.auties.protobuf.annotation.ProtobufProperty;
import it.auties.protobuf.model.ProtobufMessage;
import static it.auties.protobuf.model.ProtobufType.BYTES;
import static it.auties.protobuf.model.ProtobufType.UINT32;
@ProtobufMessageName("PhotoChange")
public record PhotoChange(@ProtobufProperty(index = 1, type = BYTES) byte[] oldPhoto,
@ProtobufProperty(index = 2, type = BYTES) byte[] newPhoto,
@ProtobufProperty(index = 3, type = UINT32) Integer newPhotoId) implements ProtobufMessage {
}