All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.signal.auth.ServerHello Maven / Gradle / Ivy

There is a newer version: 2.7.2
Show newest version
package it.auties.whatsapp.model.signal.auth;

import it.auties.protobuf.base.ProtobufMessage;
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 static it.auties.protobuf.base.ProtobufType.BYTES;

@AllArgsConstructor
@Data
@Builder
@Jacksonized
@Accessors(fluent = true)
public class ServerHello implements ProtobufMessage {
    @ProtobufProperty(index = 1, type = BYTES)
    private byte[] ephemeral;

    @ProtobufProperty(index = 2, type = BYTES)
    private byte[] staticText;

    @ProtobufProperty(index = 3, type = BYTES)
    private byte[] payload;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy