it.auties.whatsapp.model.signal.auth.KeyIndexList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsappweb4j Show documentation
Show all versions of whatsappweb4j Show documentation
Standalone fully-featured Whatsapp Web API for Java and Kotlin
package it.auties.whatsapp.model.signal.auth;
import it.auties.protobuf.base.ProtobufMessage;
import it.auties.protobuf.base.ProtobufName;
import it.auties.protobuf.base.ProtobufProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.jackson.Jacksonized;
import java.util.List;
import static it.auties.protobuf.base.ProtobufType.UINT32;
import static it.auties.protobuf.base.ProtobufType.UINT64;
@AllArgsConstructor
@Data
@Builder
@Jacksonized
@Accessors(fluent = true)
@ProtobufName("ADVKeyIndexList")
public class KeyIndexList implements ProtobufMessage {
@ProtobufProperty(index = 1, type = UINT32)
private Integer rawId;
@ProtobufProperty(index = 2, type = UINT64)
private Long timestamp;
@ProtobufProperty(index = 3, type = UINT32)
private Integer currentIndex;
@ProtobufProperty(index = 4, type = UINT32, repeated = true)
private List validIndexes;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy